zsh: add patterns option to syntax-highlighting
This commit is contained in:
parent
b004e47e03
commit
c781b28add
2 changed files with 16 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ with lib;
|
|||
package = pkgs.hello;
|
||||
highlighters = [ "brackets" "pattern" "cursor" ];
|
||||
styles.comment = "fg=#6c6c6c";
|
||||
patterns."rm -rf *" = "fg=white,bold,bg=red";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue