programs.zsh.syntaxHighlighting.patterns
Specifies custom patterns to be highlighted by zsh-syntax-highlighting.
Please refer to the docs for more information about the usage: https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters/pattern.md
- Type
attribute set of string- Default
{ }- Example
{ "rm -rf *" = "fg=white,bold,bg=red"; }- Declared
- <nixpkgs/nixos/modules/programs/zsh/zsh-syntax-highlighting.nix>