zsh-autocomplete: init at 21.09.22

This commit is contained in:
Leo Maroni 2021-10-19 11:01:50 +02:00
parent a323570a26
commit 536f7a8711
No known key found for this signature in database
GPG key ID: B1ADA545CD2CBACD
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 { };