[pathmunge] remove duplicate entry into PATH variable on reload command

This commit is contained in:
Ivan Povalyukhin
2015-06-07 20:08:39 -07:00
parent 959acc94ae
commit dabf0e8c42
6 changed files with 9 additions and 6 deletions

View File

@@ -2,7 +2,8 @@ cite about-plugin
about-plugin 'load pyenv, if you are using it'
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
pathmunge $PYENV_ROOT
[[ `which pyenv` ]] && eval "$(pyenv init -)"
#Load pyenv virtualenv if the virtualenv plugin is installed.