diff --git a/completion.d/aws b/completion.d/aws index ada3810..9b5591c 100644 --- a/completion.d/aws +++ b/completion.d/aws @@ -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 diff --git a/completion.d/kubectl b/completion.d/kubectl index f63ac1a..5ea5f20 100644 --- a/completion.d/kubectl +++ b/completion.d/kubectl @@ -1,6 +1,6 @@ #!/bin/bash -if ( which kubectl &> /dev/null ) +if ( which kubectl ) &> /dev/null then source <(kubectl completion bash) fi