Enable zsh syntax highlighting with new toggle

This commit is contained in:
Dave Gallant
2021-06-28 09:00:22 -04:00
parent 893964169e
commit 3b69bb5efb
2 changed files with 4 additions and 7 deletions

6
flake.lock generated
View File

@@ -27,11 +27,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1624796413, "lastModified": 1624863040,
"narHash": "sha256-uQWxfcs4MGeWNUJxTRfuPvqaTVLTJAngc4IvxWNaCXs=", "narHash": "sha256-BeV2TDf0nBB4IituD4JhT5ZWRlPrIvu3Z4P0q0XbQOQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "f4998f0adccc60a2b463f1892e3eb42b9715a8ee", "rev": "dc4337d9fed5b437913e51722fa150b9eae7d91c",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -100,6 +100,7 @@ in
zsh = { zsh = {
enable = true; enable = true;
enableAutosuggestions = true; enableAutosuggestions = true;
enableSyntaxHighlighting = true;
history.size = 1000000; history.size = 1000000;
localVariables = { localVariables = {
@@ -139,10 +140,6 @@ in
plugins = [ "git" "last-working-dir" ]; plugins = [ "git" "last-working-dir" ];
}; };
plugins = [{
name = "fast-syntax-highlighting";
src = "${pkgs.zsh-fast-syntax-highlighting}/share/zsh/site-functions";
}];
}; };
alacritty = { alacritty = {