Skip to content

💗 = alacritty + completions + clink + zoxide + fzf

License

Notifications You must be signed in to change notification settings

jwu/alacritty-settings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alacritty Settings

Features

Fast access directory

Fuzz search files

Command completions

Install (quick)

Windows Setup

  1. clone the repo
  2. Run update.bat
  3. Run config-alacritty.bat

FLY!!

Mac/Linux Setup

WIP...

Install (manually)

Windows Setup

  1. git clone [email protected]:jwu/alacritty-settings.git ${YOUR_ALACRITTY_PATH}
  2. install alacritty to ${YOUR_ALACRITTY_PATH}
  3. install FiraMono Nerd Font
  4. unzip clink to ${YOUR_ALACRITTY_PATH}/vendor/clink
  5. unzip clink-completions to ${YOUR_ALACRITTY_PATH}/vendor/clink_completions
  6. unzip git-for-windows to ${YOUR_ALACRITTY_PATH}/vendor/git
  7. unzip starship to ${YOUR_ALACRITTY_PATH}/vendor
  8. unzip fzf to ${YOUR_ALACRITTY_PATH}/vendor/bin
  9. unzip zoxide to ${YOUR_ALACRITTY_PATH}/vendor/bin
  10. Run config-alacritty.bat

Mac & Linux Setup

  1. git clone [email protected]:jwu/alacritty-settings.git ${YOUR_ALACRITTY_PATH}
  2. install alacritty to ${YOUR_ALACRITTY_PATH}
  3. install FiraMono Nerd Font
  4. install fishshell
  5. install git
  6. install starship curl -sS https://starship.rs/install.sh | sh
  7. install fzf sudo apt install fzf
  8. install zellij cargo install --locked zellij
  9. cp settings.linux/alacrity.toml to ~/.alacritty.toml
  10. cp settings.linux/starship.toml to ~/.config/starship.toml
  11. cp settings.linux/config.kdl to ~/.config/zellij/config.kdl
  12. edit ~/.config/fish/config.fish

~/.config/fish/config.fish

set -x PATH ~/bin ~/.cargo/bin ~/.local/bin /usr/local/bin $PATH
set -x PATH /opt/nvim-linux64/bin $PATH
set -x LANG "en_US.UTF-8"

# NOTE: in ubuntu, this doesn't work
# set -x STARSHIP_CONFIG "~/alacritty-settings/settings.mac/starship.toml"

starship init fish | source
zoxide init fish | source

Reference

Some helpful configs or commands

set default shell on *nix platofrom

# set zsh as default shell
sudo chsh -s /bin/zsh

# set fish as default shell
sudo chsh -s /usr/local/bin/fish

~/.alacritty.yml

import:
  - e:\Alacritty\settings\alacritty.yml

shell:
  program: cmd.exe
  args:
    - /s /k "e:\Alacritty\settings\init.bat"

~/.zshrc

export PATH=~/bin:/usr/local/bin:$PATH
export ZSH=~/.oh-my-zsh
export LANG=en_US.UTF-8
export STARSHIP_CONFIG=~/alacritty-settings/settings.mac/starship.toml

ZSH_THEME="dracula"

plugins=(
  git
  zsh-autosuggestions
)

source $ZSH/oh-my-zsh.sh
eval "$(starship init zsh)"
eval "$(zoxide init zsh)"

~/.config/fish/config.fish

set -x PATH ~/bin ~/.cargo/bin ~/.local/bin /usr/local/bin $PATH
set -x PATH /opt/nvim-linux64/bin $PATH
set -x LANG "en_US.UTF-8"

# NOTE: in ubuntu, this doesn't work
# set -x STARSHIP_CONFIG "~/alacritty-settings/settings.mac/starship.toml"

starship init fish | source
zoxide init fish | source

About

💗 = alacritty + completions + clink + zoxide + fzf

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published