zsh: Add syntax highlighting

This commit is contained in:
Simon Bruder 2021-07-17 10:19:42 +02:00
parent b26b004392
commit 16d6aa2aa0
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -80,6 +80,10 @@ in
# do not glob # (conflicts with nix flakes) # do not glob # (conflicts with nix flakes)
disable -p '#' 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} source ${../files/zsh/pass-wrappers.zsh}
'') '')
]; ];