From 281ad5bd8483c45c25f6a407c11ff2b3898e9914 Mon Sep 17 00:00:00 2001 From: Xavier Logerais Date: Tue, 19 Mar 2019 10:53:47 +0100 Subject: [PATCH] Added completion support for aws and kubectl --- completion.d/aws | 6 ++++++ completion.d/kubectl | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 completion.d/aws create mode 100644 completion.d/kubectl diff --git a/completion.d/aws b/completion.d/aws new file mode 100644 index 0000000..ada3810 --- /dev/null +++ b/completion.d/aws @@ -0,0 +1,6 @@ +#!/bin/bash + +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 new file mode 100644 index 0000000..f63ac1a --- /dev/null +++ b/completion.d/kubectl @@ -0,0 +1,6 @@ +#!/bin/bash + +if ( which kubectl &> /dev/null ) +then + source <(kubectl completion bash) +fi