From e2be5f6139d7e7023fcc21eead2048d3bf0783fc Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Wed, 2 Mar 2022 16:49:32 +0100 Subject: [PATCH] home: zsh: use packaged 'fast-syntax-highlighting' --- home/zsh/default.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/home/zsh/default.nix b/home/zsh/default.nix index 5dc9a63..0cd56d5 100644 --- a/home/zsh/default.nix +++ b/home/zsh/default.nix @@ -25,12 +25,8 @@ in plugins = with pkgs; [ { name = "fast-syntax-highlighting"; - src = fetchFromGitHub { - owner = "zdharma"; - repo = "fast-syntax-highlighting"; - rev = "v1.55"; - sha256 = "sha256-DWVFBoICroKaKgByLmDEo4O+xo6eA8YO792g8t8R7kA="; - }; + file = "share/zsh/site-functions/fast-syntax-highlighting.plugin.zsh"; + src = pkgs.zsh-fast-syntax-highlighting; } { name = "agkozak-zsh-prompt";