Added completion support for aws and kubectl

This commit is contained in:
Xavier Logerais 2019-03-19 10:53:47 +01:00
parent e32a50b531
commit 281ad5bd84
2 changed files with 12 additions and 0 deletions

6
completion.d/aws Normal file
View File

@ -0,0 +1,6 @@
#!/bin/bash
if ( which aws && which aws_completer &> /dev/null )
then
complete -C aws_completer aws
fi

6
completion.d/kubectl Normal file
View File

@ -0,0 +1,6 @@
#!/bin/bash
if ( which kubectl &> /dev/null )
then
source <(kubectl completion bash)
fi