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 = {
|
programs = {
|
||||||
feh.enable = true;
|
feh.enable = true;
|
||||||
|
|
||||||
|
direnv = {
|
||||||
|
enable = true;
|
||||||
|
enableNixDirenvIntegration = true;
|
||||||
|
};
|
||||||
git = {
|
git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
userName = "LavaDesu";
|
userName = "LavaDesu";
|
||||||
|
|
|
||||||
|
|
@ -68,6 +68,9 @@ let
|
||||||
echo -ne '\e[5 q'
|
echo -ne '\e[5 q'
|
||||||
preexec() { echo -ne '\e[5 q' ;}
|
preexec() { echo -ne '\e[5 q' ;}
|
||||||
'';
|
'';
|
||||||
|
direnv = ''
|
||||||
|
eval "$(direnv hook zsh)"
|
||||||
|
'';
|
||||||
viExtraNav = ''
|
viExtraNav = ''
|
||||||
bindkey -M menuselect 'h' vi-backward-char
|
bindkey -M menuselect 'h' vi-backward-char
|
||||||
bindkey -M menuselect 'k' vi-up-line-or-history
|
bindkey -M menuselect 'k' vi-up-line-or-history
|
||||||
|
|
@ -130,6 +133,7 @@ in rec {
|
||||||
'';
|
'';
|
||||||
initExtra = lib.concatStringsSep "\n" [
|
initExtra = lib.concatStringsSep "\n" [
|
||||||
cursorShape
|
cursorShape
|
||||||
|
direnv
|
||||||
genAbbrs
|
genAbbrs
|
||||||
viExtraNav
|
viExtraNav
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue