zsh: Add syntax highlighting

upower
Simon Bruder 2021-07-17 10:19:42 +02:00
parent b26b004392
commit 16d6aa2aa0
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 4 additions and 0 deletions

View File

@ -80,6 +80,10 @@ in
# do not glob # (conflicts with nix flakes)
disable -p '#'
# syntax highlighting
source ${pkgs.zsh-fast-syntax-highlighting}/share/zsh/site-functions/fast-syntax-highlighting.plugin.zsh
FAST_HIGHLIGHT_STYLES[comment]=fg=010
source ${../files/zsh/pass-wrappers.zsh}
'')
];