From 799201d8877440c3d9acac47ec798f6fceee8e22 Mon Sep 17 00:00:00 2001 From: Xavier Logerais Date: Tue, 19 Mar 2019 10:56:58 +0100 Subject: [PATCH] Fix completion for aws and kubectl --- completion.d/aws | 2 +- completion.d/kubectl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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