3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #26006 from benley/helm-completion

kubernetes-helm: Enable bash and zsh completion
This commit is contained in:
Jaka Hudoklin 2017-05-24 15:45:51 +02:00 committed by GitHub
commit 812e8ed1b5

View file

@ -34,6 +34,10 @@ stdenv.mkDerivation {
tar -xvzf $src
cp ${arch}/helm $out/bin/${pname}
chmod +x $out/bin/${pname}
mkdir -p $out/share/bash-completion/completions
mkdir -p $out/share/zsh/site-functions
$out/bin/helm completion bash > $out/share/bash-completion/completions/helm
$out/bin/helm completion zsh > $out/share/zsh/site-functions/_helm
'';
meta = with stdenv.lib; {