From c936d2e043f28238ca64607cab8e048194735df7 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Mon, 11 Apr 2022 15:15:36 +0200 Subject: [PATCH] home: zsh: use packaged 'agkozak-zsh-prompt' --- 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 27ea8bc..4d61685 100644 --- a/home/zsh/default.nix +++ b/home/zsh/default.nix @@ -35,12 +35,8 @@ in } { name = "agkozak-zsh-prompt"; - src = fetchFromGitHub { - owner = "agkozak"; - repo = "agkozak-zsh-prompt"; - rev = "v3.9.0"; - sha256 = "sha256-VTRL+8ph2eI7iPht15epkLggAgtLGxB3DORFTW5GrhE="; - }; + file = "share/zsh/site-functions/agkozak-zsh-prompt.plugin.zsh"; + src = pkgs.agkozak-zsh-prompt; } ];