zsh: configure auto-notify ignore settings
This commit is contained in:
parent
3de6b6cd33
commit
b11055fd8e
|
@ -122,22 +122,11 @@
|
||||||
{ name = "zsh-users/zsh-syntax-highlighting"; }
|
{ name = "zsh-users/zsh-syntax-highlighting"; }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sessionVariables = {
|
||||||
|
AUTO_NOTIFY_IGNORE = import ./zsh/auto-notify-ignore.nix;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home.file.".config/zsh-abbr/user-abbreviations".text = builtins.readFile ./zsh/abbreviations.zsh;
|
home.file.".config/zsh-abbr/user-abbreviations".text = builtins.readFile ./zsh/abbreviations.zsh;
|
||||||
|
|
||||||
home.sessionVariables = {
|
|
||||||
AUTO_NOTIFY_IGNORE = builtins.concatStringsSep " " [
|
|
||||||
"git commit"
|
|
||||||
"htop"
|
|
||||||
"less"
|
|
||||||
"man"
|
|
||||||
"more"
|
|
||||||
"nix develop"
|
|
||||||
"nvim"
|
|
||||||
"ssh"
|
|
||||||
"tldr"
|
|
||||||
"watch"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
17
lib/shared/modules/zsh/auto-notify-ignore.nix
Normal file
17
lib/shared/modules/zsh/auto-notify-ignore.nix
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
[
|
||||||
|
"atuin"
|
||||||
|
"bat"
|
||||||
|
"cat"
|
||||||
|
"docker"
|
||||||
|
"git"
|
||||||
|
"htop"
|
||||||
|
"less"
|
||||||
|
"man"
|
||||||
|
"more"
|
||||||
|
"nix develop"
|
||||||
|
"nvim"
|
||||||
|
"ssh"
|
||||||
|
"t"
|
||||||
|
"tldr"
|
||||||
|
"watch"
|
||||||
|
]
|
Loading…
Reference in a new issue