Created
July 14, 2016 01:07
-
-
Save jaohaohsuan/7e0b3c5c68f98bce53505fcefaf158bb to your computer and use it in GitHub Desktop.
kubectl(1.2.3) bash-completion install on ubuntu 16.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -sSL https://raw.githubusercontent.com/kubernetes/kubernetes/$(kubectl version --client | grep -o -P '(?<=GitCommit:").*(?=",)')/contrib/completions/bash/kubectl | sudo tee /etc/bash_completion.d/kubectl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
requires