diff options
author | OTABI Tomoya <tomoya.otabi@gmail.com> | 2023-08-08 17:20:59 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-08 17:20:59 +0900 |
commit | 44b6fb57ff72d65aaaeee90cdcbe66adf4e25fb5 (patch) | |
tree | ee03a91c4318687b2820885562a937b4fc7f2f6e /pkgs/shells/zsh | |
parent | b98f6d907267322ac712928545c2cedb653173e6 (diff) | |
parent | b05435b738f2a46c28f43bdd95581f4ec6131078 (diff) |
Merge pull request #242122 from Janik-Haag/zsh-fzf-history-search
zsh-fzf-history-search: init at unstable-23-03-08
Diffstat (limited to 'pkgs/shells/zsh')
-rw-r--r-- | pkgs/shells/zsh/zsh-fzf-history-search/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/shells/zsh/zsh-fzf-history-search/default.nix b/pkgs/shells/zsh/zsh-fzf-history-search/default.nix new file mode 100644 index 0000000000000..c6d32f8d76120 --- /dev/null +++ b/pkgs/shells/zsh/zsh-fzf-history-search/default.nix @@ -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 ]; + }; +} |