From 77756aa48370fa346ec39bcaaf548890617e7887 Mon Sep 17 00:00:00 2001 From: Minijackson Date: Wed, 25 Sep 2024 21:36:47 +0200 Subject: common/zsh: switch back to builtin syntax highlighting fast-syntax-highlighting is buggy for ssh commands --- common/commandline/zsh.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'common') diff --git a/common/commandline/zsh.nix b/common/commandline/zsh.nix index 919edb3..f2a052b 100644 --- a/common/commandline/zsh.nix +++ b/common/commandline/zsh.nix @@ -47,6 +47,15 @@ in # Grml handles that, and supports cache (faster!!!) enableGlobalCompInit = false; + syntaxHighlighting = { + enable = true; + highlighters = [ + "main" + "brackets" + "line" + ]; + }; + shellAliases = { e = "\${(z)EDITOR}"; # Space at the end makes Zsh expand aliases after "sudo" @@ -91,11 +100,6 @@ in src = inputs.shmart-prompt-dir; file = "none"; } - - { - name = "fast-syntax-highlighting"; - src = "${pkgs.unstable.zsh-fast-syntax-highlighting}/share/zsh/site-functions"; - } ]; }; } -- cgit v1.2.3