- Install fish shell using Homebrew
brew install fish
- Install Oh-My-Fish framework
curl -L https://github.com/oh-my-fish/oh-my-fish/raw/master/bin/install | fish
omf help
- Add
/usr/local/bin/fish
to your/etc/shells
file - Select fish as your default shell
chsh -s /usr/local/bin/fish
- Your shell config file is
~/.config/fish/config.fish
(ex: config.fish) - Change themes and settings using Oh-My-Fish command
omf
- Have vim use bash since fish isn't POSIX compliant add
"set shell=bash"
to your.vimrc
- Optional: Add vundle update function:
function updatevim
set -lx SHELL (which sh)
vim +BundleInstall! +BundleClean +qall
end
- Add the following to your config.fish
set fish_key_bindings fish_vi_key_bindings
- Aliases functionality is in fish functions.