add direnv
This commit is contained in:
parent
7149166a2f
commit
26f2a05b96
2 changed files with 9 additions and 0 deletions
|
|
@ -47,6 +47,11 @@
|
|||
|
||||
programs = {
|
||||
feh.enable = true;
|
||||
|
||||
direnv = {
|
||||
enable = true;
|
||||
enableNixDirenvIntegration = true;
|
||||
};
|
||||
git = {
|
||||
enable = true;
|
||||
userName = "LavaDesu";
|
||||
|
|
|
|||
|
|
@ -68,6 +68,9 @@ let
|
|||
echo -ne '\e[5 q'
|
||||
preexec() { echo -ne '\e[5 q' ;}
|
||||
'';
|
||||
direnv = ''
|
||||
eval "$(direnv hook zsh)"
|
||||
'';
|
||||
viExtraNav = ''
|
||||
bindkey -M menuselect 'h' vi-backward-char
|
||||
bindkey -M menuselect 'k' vi-up-line-or-history
|
||||
|
|
@ -130,6 +133,7 @@ in rec {
|
|||
'';
|
||||
initExtra = lib.concatStringsSep "\n" [
|
||||
cursorShape
|
||||
direnv
|
||||
genAbbrs
|
||||
viExtraNav
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue