Skip to content

Instantly share code, notes, and snippets.

@adamlutz
Last active February 24, 2017 01:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save adamlutz/0f0a1495661ae1de778e to your computer and use it in GitHub Desktop.
Save adamlutz/0f0a1495661ae1de778e to your computer and use it in GitHub Desktop.
~/.config/fish/config.fish
set PATH $HOME/.rbenv/shims $PATH
rbenv rehash >/dev/null ^&1
status --is-interactive; and source (rbenv init -|psub)
set -x PATH /usr/local/bin $PATH
set -x PATH /usr/local/sbin $PATH
set -x PATH ~/bin $PATH
set -x PATH /Applications/Postgres.app/Contents/Versions/latest/bin $PATH
set --erase fish_greeting
function nvm
bass source ~/.nvm/nvm.sh ';' nvm $argv
end
function reload
source ~/.config/fish/config.fish
end
function subl
open -a "Sublime Text.app" $argv
end
function ll
ls -lhG $argv
end
function la
ls -lahG $argv
end
function lsd
ls -d */
end
nvm use default --silent
@adamlutz
Copy link
Author

vi /etc/shells
add /usr/local/bin/fish

chsh -s which fish

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment