diff options
-rwxr-xr-x | zsh/environment.zsh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/zsh/environment.zsh b/zsh/environment.zsh index 0183f72..6279c1f 100755 --- a/zsh/environment.zsh +++ b/zsh/environment.zsh @@ -47,4 +47,6 @@ esac export os -eval "$(direnv hook zsh)" +if [[ $commands[direnv] ]] + eval "$(direnv hook zsh)" +fi |