mirror of
https://github.com/davegallant/nix-config
synced 2025-08-06 07:13:40 +00:00
Enable zsh syntax highlighting with new toggle
This commit is contained in:
6
flake.lock
generated
6
flake.lock
generated
@@ -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": {
|
||||||
|
@@ -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 = {
|
||||||
|
Reference in New Issue
Block a user