zsh-fzf-history-search: init at unstable-23-03-08

This commit is contained in:
Janik H 2023-07-07 21:26:07 +02:00
parent 565fc74d28
commit b05435b738
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ lib
, stdenvNoCC
, fetchFromGitHub
}:
stdenvNoCC.mkDerivation {
pname = "zsh-fzf-history-search";
version = "unstable-2023-03-08";
src = fetchFromGitHub {
owner = "joshskidmore";
repo = "zsh-fzf-history-search";
rev = "d1aae98ccd6ce153c97a5401d79fd36418cd2958";
hash = "sha256-4Dp2ehZLO83NhdBOKV0BhYFIvieaZPqiZZZtxsXWRaQ=";
};
dontConfigure = true;
dontBuild = true;
strictDeps = true;
installPhase = ''
runHook preInstall
install -D zsh-fzf-history-search*.zsh --target-directory=$out/share/zsh-fzf-history-search
runHook postInstall
'';
meta = {
description = "A simple zsh plugin that replaces Ctrl+R with an fzf-driven select which includes date/times";
homepage = "https://github.com/joshskidmore/zsh-fzf-history-search";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ janik ];
};
}

View file

@ -14661,6 +14661,8 @@ with pkgs;
zsh-command-time = callPackage ../shells/zsh/zsh-command-time { };
zsh-fzf-history-search = callPackage ../shells/zsh/zsh-fzf-history-search { };
zsh-vi-mode = callPackage ../shells/zsh/zsh-vi-mode { };
zsh-you-should-use = callPackage ../shells/zsh/zsh-you-should-use { };