diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/shell/zsh/zshrc.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/shell/zsh/zshrc.nix b/modules/shell/zsh/zshrc.nix index 2c339f0cc11f..b8343e938658 100644 --- a/modules/shell/zsh/zshrc.nix +++ b/modules/shell/zsh/zshrc.nix @@ -1,5 +1,6 @@ { stdenv, lib , any-nix-shell +, direnv , zsh-autosuggestions , zsh-history-substring-search , zsh-syntax-highlighting @@ -117,6 +118,8 @@ autoload -Uz compinit compinit -d "$XDG_CACHE_HOME/zsh/zcompdump" eval "$(${any-nix-shell}/bin/any-nix-shell zsh --info-right)" +eval "$(${direnv}/bin/direnv hook zsh)" + source ${zsh-syntax-highlighting}/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source ${zsh-history-substring-search}/share/zsh-history-substring-search/zsh-history-substring-search.zsh source ${zsh-autosuggestions}/share/zsh-autosuggestions/zsh-autosuggestions.zsh |