add direnv hook to zshrc

This commit is contained in:
Haak Saxberg 2019-03-02 23:43:44 -08:00
parent d80062e438
commit c7024a47ff

View file

@ -19,6 +19,12 @@ with lib;
enable = true;
userName = "Haak Saxberg";
userEmail = "haak.erling@gmail.com";
ignores = [
".idea/"
".tools-info"
"*~"
"*.swp"
];
};
programs.zsh = {
@ -39,6 +45,9 @@ with lib;
bindkey '^[[A' history-substring-search-up
bindkey '^[[B' history-substring-search-down
bindkey -M viins 'jj' vi-cmd-mode
eval "$(direnv hook zsh)"
'');
oh-my-zsh = {