feat: add direnv

This commit is contained in:
Jiří Štefka 2024-03-04 14:53:30 +01:00
parent 92ff5d3511
commit 4f2635bc01
Signed by: jiriks74
GPG Key ID: 1D5E30D3DB2264DE

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