aboutsummaryrefslogtreecommitdiff
path: root/config/zsh/zshrc
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2023-06-29 14:45:20 +0530
committerAkshay Nair <phenax5@gmail.com>2023-06-29 14:45:20 +0530
commitf8f66295d90c6db724da519cc1be1ef1233ecdf5 (patch)
tree42b176ac7303f95c897671018b555c38765737f9 /config/zsh/zshrc
parentedc4ef0106f7d4a37d367e81ae9e6470dbdc7087 (diff)
downloadnixos-config-f8f66295d90c6db724da519cc1be1ef1233ecdf5.tar.gz
nixos-config-f8f66295d90c6db724da519cc1be1ef1233ecdf5.zip
config sync:
Diffstat (limited to 'config/zsh/zshrc')
-rw-r--r--config/zsh/zshrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/zsh/zshrc b/config/zsh/zshrc
index 9bf0e26..2182122 100644
--- a/config/zsh/zshrc
+++ b/config/zsh/zshrc
@@ -19,7 +19,9 @@ for f in $ZSH_CUSTOM_CONF_FILES/*.zsh; do source $f; done;
source $ZSH_CUSTOM_CONF_FILES/aliases.zsh;
# Direnv setup
-eval "$(direnv hook zsh)"
+if [[ "$DIRENV_DISABLE_HOOK" != "1" ]]; then
+ eval "$(direnv hook zsh)"
+fi;
# Plugins
# source ~/.config/zshplugins/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh;