diff --git a/home/programs/zsh.nix b/home/programs/zsh.nix index 03f0af0..4e332e4 100644 --- a/home/programs/zsh.nix +++ b/home/programs/zsh.nix @@ -10,7 +10,6 @@ dotDir = ".config/zsh"; autocd = false; - enableSyntaxHighlighting = true; defaultKeymap = "viins"; @@ -30,6 +29,10 @@ path = "${config.xdg.dataHome}/zsh/zsh_history"; }; + syntaxHighlighting = { + enable = true; + }; + initExtra = builtins.readFile(../files/zshrc) + '' zstyle ':completion:*' cache-path ${config.xdg.cacheHome}/zsh-completion/