3
0
Fork 0
forked from mirrors/nixpkgs

kubernetes-helm: Enable bash and zsh completion

This commit is contained in:
Benjamin Staffin 2017-05-22 19:14:10 -04:00
parent c3b2c5bf77
commit 70f8f7ec0a
No known key found for this signature in database
GPG key ID: A490C0134E09AF4A

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; {