manager/files/bash/bashrc.d/kubectl
Dan Anglin 903e5d8b66
checkpoint: manage home directories
- ensure configured home directories are present and their mode set to
  0700
- move dotfiles to files
- added JSON config
2024-09-09 18:02:53 +01:00

9 lines
247 B
Bash

## 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