Remove errors if plugin executable not available

This commit is contained in:
Martin Lariz
2019-07-29 07:07:58 -07:00
parent 5ce443759f
commit 12c49bd22f
3 changed files with 3 additions and 3 deletions

View File

@@ -4,4 +4,4 @@ about-plugin 'load rbenv, if you are using it'
export RBENV_ROOT="$HOME/.rbenv"
pathmunge "$RBENV_ROOT/bin"
[[ `which rbenv` ]] && eval "$(rbenv init - bash)"
[[ `which rbenv 2>/dev/null` ]] && eval "$(rbenv init - bash)"