I am using below two commands on the terminal of practice tests
alias k = kubectl
source < ( kubectl completion bash )
Both are working & I can run commands like “k get po” , however when I am trying to take advantage of the completion bash setup it is not working with alias.
kubectl run [tab] : This is working
k run [tab] : This isn’t working , I have created alias k for kubectl so I think this should also work. Any clue what I am doing wrong here