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

View file

@ -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