Skip to content

Latest commit

 

History

History
185 lines (147 loc) · 5.84 KB

README.md

File metadata and controls

185 lines (147 loc) · 5.84 KB

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 git@github.com: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 git@github.com: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