Using pathmunge in jenv plugin

pull/606/head
Manoj 2015-11-03 12:10:02 +05:30
parent 7a00fe981c
commit 5b87b2db0e
1 changed files with 2 additions and 1 deletions

View File

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