Merge pull request #142186 from em0lar/zsh-autocomplete

This commit is contained in:
Sandro 2021-10-19 14:33:26 +02:00 committed by GitHub
commit 2491602088
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ lib, stdenvNoCC, fetchFromGitHub }:
stdenvNoCC.mkDerivation rec {
pname = "zsh-autocomplete";
version = "21.09.22";
src = fetchFromGitHub {
owner = "marlonrichert";
repo = "zsh-autocomplete";
rev = version;
sha256 = "sha256-c4+5ta0ATuy9hIygSnqaquHf+YIStvHMaABwq3qyru8=";
};
installPhase = ''
install -D zsh-autocomplete.plugin.zsh $out/share/zsh-autocomplete/zsh-autocomplete.plugin.zsh
cp -R scripts $out/share/zsh-autocomplete/scripts
cp -R functions $out/share/zsh-autocomplete/functions
'';
meta = with lib; {
description = "Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion";
homepage = "https://github.com/marlonrichert/zsh-autocomplete/";
license = licenses.mit;
platforms = platforms.unix;
maintainers = [ maintainers.em0lar ];
};
}

View File

@ -10903,6 +10903,8 @@ with pkgs;
zsh-fzf-tab = callPackage ../shells/zsh/zsh-fzf-tab { };
zsh-autocomplete = callPackage ../shells/zsh/zsh-autocomplete { };
zsh-autosuggestions = callPackage ../shells/zsh/zsh-autosuggestions { };
zsh-powerlevel10k = callPackage ../shells/zsh/zsh-powerlevel10k { };