programs.zsh.syntaxHighlighting.patterns
NixOS option
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 stringDefault
{ }Example
declared in: nixos/modules/programs/zsh/zsh-syntax-highlighting.nixView source on NixOS/nixpkgs →{
"rm -rf *" = "fg=white,bold,bg=red";
}