Using pathmunge in jenv plugin

This commit is contained in:
Manoj
2015-11-03 12:10:02 +05:30
parent 7a00fe981c
commit 5b87b2db0e

View File

@@ -2,7 +2,8 @@ cite about-plugin
about-plugin 'load jenv, if you are using it'
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
[[ -e $JENV_ROOT/completions/jenv.bash ]] && source $JENV_ROOT/completions/jenv.bash