Skip to content

Commit 840d6e2

Browse files
authored
Merge pull request aws-samples#498 from tofupup/autocomplete
Re-add kubectl bash completion command to .bashrc
2 parents f2e52e0 + 4c42497 commit 840d6e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

01-path-basics/101-start-here/scripts/lab-ide-build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ sudo yum install bash-completion -y
2020
# Install kubectl
2121
curl -o kubectl https://amazon-eks.s3-us-west-2.amazonaws.com/1.10.3/2018-06-05/bin/linux/amd64/kubectl
2222
chmod +x kubectl && sudo mv kubectl /usr/local/bin/
23+
echo "source <(kubectl completion bash)" >> ~/.bashrc
2324

2425
# Install Heptio Authenticator
2526
curl -o heptio-authenticator-aws https://amazon-eks.s3-us-west-2.amazonaws.com/1.10.3/2018-06-05/bin/linux/amd64/heptio-authenticator-aws

0 commit comments

Comments
 (0)