summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xzsh/environment.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/environment.zsh b/zsh/environment.zsh
index 6279c1f..1519419 100755
--- a/zsh/environment.zsh
+++ b/zsh/environment.zsh
@@ -47,6 +47,6 @@ esac
 
 export os
 
-if [[ $commands[direnv] ]]
+if [[ -z $commands[direnv] ]]
 	eval "$(direnv hook zsh)"
 fi