jwu / alacritty-settings

:heartpulse: = alacritty + completions + clink + zoxide + fzf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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. unzip starship to /usr/local/bin
  7. unzip fzf to /usr/local/bin
  8. unzip zoxide to /usr/local/bin
  9. setup ~/.config/fish/config.fish

~/.config/fish/config.fish

set -x PATH ~/bin ~/.cargo/bin /usr/local/bin $PATH
set -x LANG "en_US.UTF-8"
set -x STARSHIP_CONFIG "$YOUR_ALACRITTY_PATH/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 /usr/local/bin $PATH
set -x LANG "en_US.UTF-8"
set -x STARSHIP_CONFIG "~/alacritty-settings/settings.mac/starship.toml"

starship init fish | source
zoxide init fish | source

About

:heartpulse: = alacritty + completions + clink + zoxide + fzf

License:MIT License


Languages

Language:Lua 70.2%Language:Batchfile 22.4%Language:Nushell 6.2%Language:Shell 1.2%