Difference between revisions of "Autocompletion (Bash)"
Jump to navigation
Jump to search
m (Welcome moved page Autocompletion to Autocompletion (Bash)) Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 3: | Line 3: | ||
https://kubernetes.io/docs/reference/kubectl/cheatsheet/#kubectl-autocomplete | https://kubernetes.io/docs/reference/kubectl/cheatsheet/#kubectl-autocomplete | ||
− | source <([[ | + | source <([[kubectl]] completion bash) # setup autocomplete in bash into the current shell, bash-completion package should be installed first. |
echo "source <(kubectl completion bash)" >> ~/.bashrc # add autocomplete permanently to your bash shell. | echo "source <(kubectl completion bash)" >> ~/.bashrc # add autocomplete permanently to your bash shell. | ||
Revision as of 15:58, 26 January 2020
https://kubernetes.io/docs/reference/kubectl/cheatsheet/#kubectl-autocomplete
source <(kubectl completion bash) # setup autocomplete in bash into the current shell, bash-completion package should be installed first. echo "source <(kubectl completion bash)" >> ~/.bashrc # add autocomplete permanently to your bash shell.
See also
Bash [ -c ]
,alias
,&&
, Bash history, Autocompletion,set
,unset
,export
,.bash_aliases, .bashrc and .bash profile
,PS1
,echo
,brace expansion
, Function,shopt
,trap
,set -e
,source
,PATH
,complete
,disown
,.hushlogin
,.bashrc
,builtin
,eval
,set
,$PATH
,$HOME
,TZ
,.profile
,-e, -i
,Builtin (Bash)
,mapfile
,~
, return (Bash), for, until,declare, dirname, basename, functions.sh
, Bash arithmetic expansion,shift, bash --rcfile, readonly, $1, $@
Advertising: