diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/commandline/zsh.nix | 14 |
1 files changed, 9 insertions, 5 deletions
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 | |||
47 | # Grml handles that, and supports cache (faster!!!) | 47 | # Grml handles that, and supports cache (faster!!!) |
48 | enableGlobalCompInit = false; | 48 | enableGlobalCompInit = false; |
49 | 49 | ||
50 | syntaxHighlighting = { | ||
51 | enable = true; | ||
52 | highlighters = [ | ||
53 | "main" | ||
54 | "brackets" | ||
55 | "line" | ||
56 | ]; | ||
57 | }; | ||
58 | |||
50 | shellAliases = { | 59 | shellAliases = { |
51 | e = "\${(z)EDITOR}"; | 60 | e = "\${(z)EDITOR}"; |
52 | # Space at the end makes Zsh expand aliases after "sudo" | 61 | # Space at the end makes Zsh expand aliases after "sudo" |
@@ -91,11 +100,6 @@ in | |||
91 | src = inputs.shmart-prompt-dir; | 100 | src = inputs.shmart-prompt-dir; |
92 | file = "none"; | 101 | file = "none"; |
93 | } | 102 | } |
94 | |||
95 | { | ||
96 | name = "fast-syntax-highlighting"; | ||
97 | src = "${pkgs.unstable.zsh-fast-syntax-highlighting}/share/zsh/site-functions"; | ||
98 | } | ||
99 | ]; | 103 | ]; |
100 | }; | 104 | }; |
101 | } | 105 | } |