added zsh syntax highlighting

nixos
Moritz Böhme 2021-09-11 13:35:44 +02:00
parent dcdbf88242
commit ab02c4bdfe
3 changed files with 23 additions and 7 deletions

View File

@ -107,7 +107,8 @@
"picom": "picom", "picom": "picom",
"unstable": "unstable", "unstable": "unstable",
"utils": "utils", "utils": "utils",
"zsh-autosuggestions": "zsh-autosuggestions" "zsh-autosuggestions": "zsh-autosuggestions",
"zsh-syntax-highlighting": "zsh-syntax-highlighting"
} }
}, },
"unstable": { "unstable": {
@ -160,6 +161,22 @@
"repo": "zsh-autosuggestions", "repo": "zsh-autosuggestions",
"type": "github" "type": "github"
} }
},
"zsh-syntax-highlighting": {
"flake": false,
"locked": {
"lastModified": 1629459010,
"narHash": "sha256-m+gKQXNRYTpraWDXVMTU6UPJFivcyhOw3dNofFR4cyU=",
"owner": "zsh-users",
"repo": "zsh-syntax-highlighting",
"rev": "6e0e950154a4c6983d9e077ed052298ad9126144",
"type": "github"
},
"original": {
"owner": "zsh-users",
"repo": "zsh-syntax-highlighting",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",

View File

@ -21,6 +21,10 @@
url = "github:zsh-users/zsh-autosuggestions"; url = "github:zsh-users/zsh-autosuggestions";
flake = false; flake = false;
}; };
zsh-syntax-highlighting = {
url = "github:zsh-users/zsh-syntax-highlighting";
flake = false;
};
}; };
outputs = inputs@{ self, utils, home-manager, nixpkgs, ...}: outputs = inputs@{ self, utils, home-manager, nixpkgs, ...}:

View File

@ -20,12 +20,7 @@ let
} }
{ {
name = "zsh-syntax-highlighting"; name = "zsh-syntax-highlighting";
src = pkgs.fetchFromGitHub { src = inputs.zsh-syntax-highlighting;
owner = "zsh-users";
repo = "zsh-syntax-highlighting";
rev = "0e1bb14452e3fc66dcc81531212e1061e02c1a61";
sha256 = "09ncmyqlk9a3h470z0wgbkrznb5zyc9dj96011wm89rdxc1irxk2";
};
} }
]; ];
}; };