Merge pull request #242122 from Janik-Haag/zsh-fzf-history-search

zsh-fzf-history-search: init at unstable-23-03-08
This commit is contained in:
OTABI Tomoya 2023-08-08 17:20:59 +09:00 committed by GitHub
commit 44b6fb57ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

@ -15009,6 +15009,8 @@ with pkgs;
zsh-command-time = callPackage ../shells/zsh/zsh-command-time { }; 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-vi-mode = callPackage ../shells/zsh/zsh-vi-mode { };
zsh-you-should-use = callPackage ../shells/zsh/zsh-you-should-use { }; zsh-you-should-use = callPackage ../shells/zsh/zsh-you-should-use { };