programs.zsh.history.ignorePatterns

Do not enter command lines into the history list if they match any one of the given shell patterns.

Type
list of string
Default
[ ]
Example
[ "rm *" "pkill *" ]
Declared
<home-manager/modules/programs/zsh/history.nix>