.zshrc: Update jenv condition

This always spams "no jenv in PATH" if jenv can't be found, which
is really annoying.
This commit is contained in:
Alan Orth 2017-05-02 21:49:24 +03:00
parent e3b1138917
commit 783acb0169
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 1 additions and 1 deletions

2
.zshrc
View File

@ -83,7 +83,7 @@ if [[ -d ~/.pyenv ]]; then
fi
# Initialize jenv if it exists
if which jenv > /dev/null; then
if [[ -d ~/.jenv ]]; then
export JENV_ROOT=~/.jenv
eval "$(jenv init -)"
fi