diff --git a/plugins/jenv/jenv.plugin.zsh b/plugins/jenv/jenv.plugin.zsh index cead0077b..14c586be9 100644 --- a/plugins/jenv/jenv.plugin.zsh +++ b/plugins/jenv/jenv.plugin.zsh @@ -10,7 +10,7 @@ done if [[ $FOUND_JENV -eq 0 ]]; then if (( $+commands[brew] )) && jenvdir="$(brew --prefix jenv)"; then - FOUND_JENV=1 + [[ -d "${jenvdir}/bin" ]] && FOUND_JENV=1 fi fi