Fix completion for aws and kubectl

This commit is contained in:
Xavier Logerais 2019-03-19 10:56:58 +01:00
parent 281ad5bd84
commit 799201d887
2 changed files with 2 additions and 2 deletions

View File

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

View File

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