add direnv hook to zshrc
This commit is contained in:
parent
d80062e438
commit
c7024a47ff
1 changed files with 9 additions and 0 deletions
|
|
@ -19,6 +19,12 @@ with lib;
|
||||||
enable = true;
|
enable = true;
|
||||||
userName = "Haak Saxberg";
|
userName = "Haak Saxberg";
|
||||||
userEmail = "haak.erling@gmail.com";
|
userEmail = "haak.erling@gmail.com";
|
||||||
|
ignores = [
|
||||||
|
".idea/"
|
||||||
|
".tools-info"
|
||||||
|
"*~"
|
||||||
|
"*.swp"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
|
|
@ -39,6 +45,9 @@ with lib;
|
||||||
|
|
||||||
bindkey '^[[A' history-substring-search-up
|
bindkey '^[[A' history-substring-search-up
|
||||||
bindkey '^[[B' history-substring-search-down
|
bindkey '^[[B' history-substring-search-down
|
||||||
|
bindkey -M viins 'jj' vi-cmd-mode
|
||||||
|
|
||||||
|
eval "$(direnv hook zsh)"
|
||||||
'');
|
'');
|
||||||
|
|
||||||
oh-my-zsh = {
|
oh-my-zsh = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue