zsh: don't save commands matching some patterns to history
1 file changed, 5 insertions(+), 0 deletions(-)
jump to
M user/settings/zsh.nix → user/settings/zsh.nix
@@ -55,6 +55,11 @@ path = "$HOME/.local/share/zsh/history"; save = 200000; size = 100000; share = false; + ignorePatterns = [ + "rm *" + "pkill *" + "* aria2c *" + ]; }; localVariables = {