diff options
| author | Akshay Nair <phenax5@gmail.com> | 2023-06-29 14:45:20 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2023-06-29 14:45:20 +0530 |
| commit | f8f66295d90c6db724da519cc1be1ef1233ecdf5 (patch) | |
| tree | 42b176ac7303f95c897671018b555c38765737f9 /config/zsh | |
| parent | edc4ef0106f7d4a37d367e81ae9e6470dbdc7087 (diff) | |
| download | nixos-config-f8f66295d90c6db724da519cc1be1ef1233ecdf5.tar.gz nixos-config-f8f66295d90c6db724da519cc1be1ef1233ecdf5.zip | |
config sync:
Diffstat (limited to 'config/zsh')
| -rw-r--r-- | config/zsh/zshrc | 4 |
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; |
