10 lines
247 B
Text
10 lines
247 B
Text
|
## Description: Bash settings for kubectl
|
||
|
## vim: ft=sh :
|
||
|
export KUBECONFIG=${XDG_CONFIG_HOME}/kube/config
|
||
|
|
||
|
if [ -x "$( command -v kubectl )" ]; then
|
||
|
source <(kubectl completion bash)
|
||
|
alias k='kubectl'
|
||
|
complete -F __start_kubectl k
|
||
|
fi
|