From 4f2635bc013aa7115b88d6c1294022fe6a4b4d74 Mon Sep 17 00:00:00 2001 From: jiriks74 Date: Mon, 4 Mar 2024 14:53:30 +0100 Subject: [PATCH] feat: add direnv --- zsh.nix | 7 +++++++ 1 file changed, 7 insertions(+) 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