forked from mirrors/nixpkgs
kubernetes-helm: Enable bash and zsh completion
This commit is contained in:
parent
c3b2c5bf77
commit
70f8f7ec0a
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue