From 16d6aa2aa0028d633caf9726f8712a0910324c58 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sat, 17 Jul 2021 10:19:42 +0200 Subject: [PATCH] zsh: Add syntax highlighting --- users/simon/modules/zsh.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/users/simon/modules/zsh.nix b/users/simon/modules/zsh.nix index 73993e7..b69ab34 100644 --- a/users/simon/modules/zsh.nix +++ b/users/simon/modules/zsh.nix @@ -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} '') ];