Skip to content

Instantly share code, notes, and snippets.

@attilagyorffy
Last active March 16, 2016 22:57
Show Gist options
  • Save attilagyorffy/4dce30b477a86e9cad4c to your computer and use it in GitHub Desktop.
Save attilagyorffy/4dce30b477a86e9cad4c to your computer and use it in GitHub Desktop.
Systemwide rbenv initialisation for fish shell
# Add these to /usr/share/fish/config.fish
# System-wide rbenv support for fish
if test -f /usr/local/rbenv/bin/rbenv
set -gx RBENV_ROOT /usr/local/rbenv
if not contains /usr/local/rbenv/bin $PATH
set PATH $PATH /usr/local/rbenv/bin
end
. (rbenv init - | psub)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment