feat: add direnv
This commit is contained in:
parent
92ff5d3511
commit
4f2635bc01
1 changed files with 7 additions and 0 deletions
7
zsh.nix
7
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
|
||||
|
|
Loading…
Reference in a new issue