Skip to content

Instantly share code, notes, and snippets.

@d6u
Forked from andrewytliu/config.fish
Last active August 29, 2015 14:06
Show Gist options
  • Select an option

  • Save d6u/fc67f5628425af197997 to your computer and use it in GitHub Desktop.

Select an option

Save d6u/fc67f5628425af197997 to your computer and use it in GitHub Desktop.
# in ~/.config/fish/config.fish
# Load the default rubies
if test -z $rvm_bin_path
exec bash --login -c "exec fish"
end
# ~/.config/fish/functions/rvm.fish
function rvm --description "Ruby Version Manager"
exec bash --login -c "rvm $argv; exec fish"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment