add nodenv plugin

pull/1164/head
cornfeedhobo 2018-03-17 13:06:13 -05:00
parent 2efe70b3cd
commit 0c656bf269
No known key found for this signature in database
GPG Key ID: 724357093F994B26
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
cite about-plugin
about-plugin 'load nodenv, if you are using it'
export NODENV_ROOT="$HOME/.nodenv"
pathmunge "$NODENV_ROOT/bin"
[[ `which nodenv` ]] && eval "$(nodenv init -)"
# Load the auto-completion script if nodenv was loaded.
[[ -e $NODENV_ROOT/completions/nodenv.bash ]] && source $NODENV_ROOT/completions/nodenv.bash