Victor Castell | e7deb90 | 2011-11-05 15:53:27 +0100 | [diff] [blame] | 1 | # Load rbebv, if you are using it |
Erich Smith | 55e77de | 2012-05-11 23:27:03 -0400 | [diff] [blame] | 2 | |
| 3 | cite about-plugin |
| 4 | about-plugin 'load rbenv, if you are using it' |
| 5 | |
Victor Castell | e7deb90 | 2011-11-05 15:53:27 +0100 | [diff] [blame] | 6 | export PATH="$HOME/.rbenv/bin:$PATH" |
Mike Thornton | bae8a1c | 2012-05-07 15:48:38 -0500 | [diff] [blame] | 7 | [[ `which rbenv` ]] && eval "$(rbenv init -)" |
Victor Castell | e7deb90 | 2011-11-05 15:53:27 +0100 | [diff] [blame] | 8 | |
| 9 | # Load the auto-completion script if rbenv was loaded. |
Erich Smith | 55e77de | 2012-05-11 23:27:03 -0400 | [diff] [blame] | 10 | [[ -e ~/.rbenv/completions/rbenv.bash ]] && source ~/.rbenv/completions/rbenv.bash |