diff options
author | Alan Pearce | 2023-04-06 21:01:27 +0200 |
---|---|---|
committer | Alan Pearce | 2023-04-06 21:01:27 +0200 |
commit | 96c7ccc2d95a48a74e26c444da5a959c6eb2ff35 (patch) | |
tree | dea522d076f0fca964c22a4757ae6d1fce7e1b25 /user | |
parent | 29e2f18e1d71e016033307cd53e9184424093420 (diff) | |
download | nixfiles-96c7ccc2d95a48a74e26c444da5a959c6eb2ff35.tar.lz nixfiles-96c7ccc2d95a48a74e26c444da5a959c6eb2ff35.tar.zst nixfiles-96c7ccc2d95a48a74e26c444da5a959c6eb2ff35.zip |
zsh: don't save commands matching some patterns to history
Diffstat (limited to 'user')
-rw-r--r-- | user/settings/zsh.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/user/settings/zsh.nix b/user/settings/zsh.nix index 67c5b5b0..0963d490 100644 --- a/user/settings/zsh.nix +++ b/user/settings/zsh.nix @@ -55,6 +55,11 @@ in save = 200000; size = 100000; share = false; + ignorePatterns = [ + "rm *" + "pkill *" + "* aria2c *" + ]; }; localVariables = { |