diff options
author | Aaron N. Brock <AaronNBrock@gmail.com> | 2019-11-22 10:40:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-22 10:40:37 -0500 |
commit | 420e9d789a26223df9dd7df7625daf032a3f5083 (patch) | |
tree | 0ccfcd55671fd4d68b61a91188c984563384ee30 /plugins/jenv | |
parent | 5722677884e85ae910daab4b4624745af74540e6 (diff) | |
parent | 76d6b0256398ad1becbc304a78f51bbacfee50e5 (diff) | |
download | zsh-420e9d789a26223df9dd7df7625daf032a3f5083.tar.gz zsh-420e9d789a26223df9dd7df7625daf032a3f5083.tar.bz2 zsh-420e9d789a26223df9dd7df7625daf032a3f5083.zip |
Merge branch 'master' into colorize-chroma-support
Diffstat (limited to 'plugins/jenv')
-rw-r--r-- | plugins/jenv/jenv.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/jenv/jenv.plugin.zsh b/plugins/jenv/jenv.plugin.zsh index 2eda8037b..b85906a0b 100644 --- a/plugins/jenv/jenv.plugin.zsh +++ b/plugins/jenv/jenv.plugin.zsh @@ -15,7 +15,7 @@ if [[ $FOUND_JENV -eq 0 ]]; then fi if [[ $FOUND_JENV -eq 1 ]]; then - export PATH="${jenvdir}/bin:$PATH" + (( $+commands[jenv] )) || export PATH="${jenvdir}/bin:$PATH" eval "$(jenv init - zsh)" function jenv_prompt_info() { jenv version-name 2>/dev/null } |