Last active
March 16, 2016 22:57
-
-
Save attilagyorffy/4dce30b477a86e9cad4c to your computer and use it in GitHub Desktop.
Systemwide rbenv initialisation for fish shell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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