Skip to content

Instantly share code, notes, and snippets.

@Epigene
Created July 1, 2014 13:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Epigene/e6331b2cd669248ae232 to your computer and use it in GitHub Desktop.
Save Epigene/e6331b2cd669248ae232 to your computer and use it in GitHub Desktop.
How to setup fish shell on a Mac
0. set up sublime terminus:
$ echo "export PATH=~/bin:$PATH" >> ~/.profile
$ ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" ~/bin/subl
(use with $ subl)
1. $ brew install fish
2. $ curl -L https://github.com/bpinto/oh-my-fish/raw/master/tools/install.fish | fish
3. add https://gist.github.com/Epigene/9bccb811c8b15524cfbc contents to ~/.config/fish/config.fish
4. $ sudo nano /etc/shells # and add "/usr/local/bin/fish" bin path for fish
5. set to default:
$ grep -q '^/usr/local/bin/fish$' /etc/shells; or echo '/usr/local/bin/fish' | sudo tee -a /etc/shells
$ chsh -s /usr/local/bin/fish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment