mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
Merge pull request #142186 from em0lar/zsh-autocomplete
This commit is contained in:
commit
2491602088
27
pkgs/shells/zsh/zsh-autocomplete/default.nix
Normal file
27
pkgs/shells/zsh/zsh-autocomplete/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue