grep kga ~/.zsh
alias kga='kubectl get all,ingress'
When trying alias kga, it does not work. It shows only the all not the ingress.
If i simply enter `kubernetes get all,ing’ it does work.
My other aliases in .zsh do work and i sourced the .zsh file before to try it or after every update.
Having set another alias for kubectl in general as k and complete -o ( as in underneath )
My other kubectl aliases need to start with k, for the aliases to work correctly.
vi ~/.zsh
alias k='kubectl'
complete -o default -F __start_kubectl k