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:
commit
44b6fb57ff
2 changed files with 38 additions and 0 deletions
36
pkgs/shells/zsh/zsh-fzf-history-search/default.nix
Normal file
36
pkgs/shells/zsh/zsh-fzf-history-search/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -15009,6 +15009,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 { };
|
||||
|
|
Loading…
Reference in a new issue