From 783acb0169b1328a7e951e6bd355531e67d2ffdb Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 2 May 2017 21:49:24 +0300 Subject: [PATCH] .zshrc: Update jenv condition This always spams "no jenv in PATH" if jenv can't be found, which is really annoying. --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index d809f3d..3cf8a24 100644 --- a/.zshrc +++ b/.zshrc @@ -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