zsh: add patterns option to syntax-highlighting

This commit is contained in:
Icy-Thought 2024-02-08 15:17:24 +01:00 committed by Robert Helgesson
parent b004e47e03
commit c781b28add
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED
2 changed files with 16 additions and 0 deletions

View file

@ -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";
};
};