MyNixOS website logo
option

programs.zsh.history.ignorePatterns

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

Declarations
Type
list of string
Default
[ ]
Example
[ "rm *" "pkill *" ]