Merge pull request #153623 from sei40kr/zsh-history-search-multi-word

zsh-history-search-multi-word: init at unstable-2021-11-13
This commit is contained in:
Bernardo Meurer 2022-01-09 18:18:52 +00:00 committed by GitHub
commit 5d3c9ddee1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ stdenvNoCC, lib, fetchFromGitHub }:
stdenvNoCC.mkDerivation rec {
pname = "zsh-history-search-multi-word";
version = "unstable-2021-11-13";
src = fetchFromGitHub {
owner = "zdharma-continuum";
repo = "history-search-multi-word";
rev = "5b44d8cea12351d91fbdc3697916556f59f14b8c";
sha256 = "11r2mmy6bg3b6pf6qc0ml3idh333cj8yz754hrvd1sc4ipfkkqh7";
};
dontConfigure = true;
dontBuild = true;
installPhase = ''
plugindir="$out/share/zsh/${pname}"
mkdir -p "$plugindir"
cp -r -- history-* hsmw-* "$plugindir"/
'';
meta = with lib; {
description = "Multi-word, syntax highlighted history searching for Zsh";
homepage = "https://github.com/zdharma-continuum/history-search-multi-word";
license = with licenses; [ gpl3 mit ];
platforms = platforms.unix;
};
}

View file

@ -11323,6 +11323,8 @@ with pkgs;
zsh-history = callPackage ../shells/zsh/zsh-history { };
zsh-history-search-multi-word = callPackage ../shells/zsh/zsh-history-search-multi-word { };
zsh-history-substring-search = callPackage ../shells/zsh/zsh-history-substring-search { };
zsh-navigation-tools = callPackage ../tools/misc/zsh-navigation-tools { };