Use enableSyntaxHighlighting instead of adding the plugin myself

This commit is contained in:
Charlotte Van Petegem 2023-03-10 15:29:48 +01:00
parent a78972a315
commit 7c618334ee
No known key found for this signature in database
GPG key ID: 019E764B7184435A

View file

@ -6,6 +6,7 @@ let
programs.zsh = {
enable = true;
enableAutosuggestions = true;
enableSyntaxHighlighting = true;
autocd = true;
dotDir = ".config/zsh";
history = {
@ -25,15 +26,6 @@ let
];
theme = "robbyrussell";
};
plugins = [{
name = "zsh-syntax-highlighting";
src = pkgs.fetchFromGitHub {
owner = "zsh-users";
repo = "zsh-syntax-highlighting";
rev = "0.7.1";
sha256 = "03r6hpb5fy4yaakqm3lbf4xcvd408r44jgpv4lnzl9asp4sb9qc0";
};
}];
sessionVariables = { DEFAULT_USER = "charlotte"; };
};
});