Merge pull request #606 from manojlds/add-jenv-plugin

Add jenv plugin
pull/608/head
Nils Winkler 2015-11-03 08:34:31 +01:00
commit 6d7e546575
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
cite about-plugin
about-plugin 'load jenv, if you are using it'
export JENV_ROOT="$HOME/.jenv"
pathmunge "$JENV_ROOT/bin"
if which jenv > /dev/null; then eval "$(jenv init -)"; fi
[[ -e $JENV_ROOT/completions/jenv.bash ]] && source $JENV_ROOT/completions/jenv.bash