diff --git a/zsh.nix b/zsh.nix index f4dd4f3..a61483b 100755 --- a/zsh.nix +++ b/zsh.nix @@ -5,6 +5,11 @@ # enableZshIntegration = true; # }; # + programs.direnv = { + enable = true; + enableZshIntegration = true; # see note on other shells below + nix-direnv.enable = true; + }; programs.zsh = { enable = true; @@ -45,6 +50,8 @@ # fi # eval $(thefuck --alias) + eval "$(direnv hook zsh)" + # Basic auto/tab complete: autoload -U compinit