zsh: ignore "nixos-rebuild switch" in history

This commit is contained in:
Colin 2023-03-08 23:45:58 +00:00
parent 6fe29529b2
commit 9f5d1c0111

View File

@ -74,7 +74,7 @@ in
# see for an example: <https://filipe.kiss.ink/zmv-zsh-rename/>
autoload -Uz zmv
HISTORY_IGNORE='(sane-shutdown *|sane-reboot *|rm *)'
HISTORY_IGNORE='(sane-shutdown *|sane-reboot *|rm *|nixos-rebuild.* switch)'
# extra aliases
# TODO: move to `shellAliases` config?