Auto Completion Not working for Alias in kodeKloud lab. I have the following in .bashrc.
kc kd kg autocompletion does not work. What is missing? Tried many things
.bashrc
alias vi=“vim”
alias kubectl=“k3s kubectl”
source /etc/profile.d/bash_completion.sh
source <(kubectl completion bash)
alias k=kubectl
alias kc=“kubectl create”
alias kd=“kubectl delete”
alias kg=“kubectl get”
complete -F __start_kubectl k
alias crictl=‘k3s crictl’
eval “$(starship init bash)”
export KUBE_EDITOR=“vim”
export PS1="\h $ "
export PAGER=less
========================
controlplane ~ ➜ kc
.bash_profile .kube/ .vimrc
.bashrc .ssh/ deployment-definition-1.yaml
.cache/ .vim/ sample.yaml
.config/