MyNixOS website logo
option

programs.zsh.syntaxHighlighting.patterns

Custom syntax highlighting for user-defined patterns. Reference: https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters/pattern.md.

Declarations
Type
attribute set of string
Default
{ }
Example
{
  "rm -rf *" = "fg=white,bold,bg=red";
}