minikube: add bash completions
This commit is contained in:
parent
ef24c93f72
commit
c316dd1cc7
1 changed files with 3 additions and 0 deletions
|
@ -30,6 +30,9 @@ stdenv.mkDerivation rec {
|
|||
installPhase = ''
|
||||
cp $src $out/bin/${pname}
|
||||
chmod +x $out/bin/${pname}
|
||||
|
||||
mkdir -p $out/share/bash-completion/completions/
|
||||
HOME=$(pwd) $out/bin/minikube completion bash > $out/share/bash-completion/completions/minikube
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue