Install homebrew
| Dependency | Note |
|---|---|
| bat | |
| fd | Better find |
| fish | |
| fisher | Plugin manager for fish |
| fzf | Fuzzy search |
| neovim | |
| ripgrep | |
| tmux | |
| macOS Input Source Manager |
$ /opt/homebrew/bin/brew install bat fd fish fzf neovim ripgrep tmux # macOS
a) On macOS, change login shell to fish in Settings. On Ubuntu, use chsh.
b) exec fish shel in the default shell. See below.
It is safe to not change the login shell to fish in remote hosts (machines to be SSH'ed)
because sometimes SSH does not work well when connecting to fish-chshed machines.
To use fish as if it were a login shell, write the following line at the top of .bashrc:
case $- in
*i*) exec $PATH_TO_FISH_SHELL;;
esac
> ./init
Install fisher
> curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher
init script installs tpm (tmux plugin manager) into tmux/plugins.
Then reload .tmux.conf (bind + shift + I in tmux) and the plugins specified in .tmux.conf will be installed.
| Variable | Description |
|---|---|
NVIM_PYTHON_PATH |
Path to Python interpreter to be used in neovim |
This repository uses HackGen35 Console font. Download it via homebrew:
$ brew install font-hackgen font-hackgen-nerd