#431·kubectx

Allow configure if `kubectx` and `kubens` will be autocompletable commands.

Author: danim55Created Nov 20, 2024Updated Nov 20, 2024
Labels😇Feature Request

I have get used to write kub ku or kube and then press the tab to autocomplete for kubectl. With these new commands the autocompletion is not working.

I know, I can create an alias... I have already done that but the alias does not work with the autocompletion of the next parameters.

Example: If I want to write kubectl port-forward svc/some-service some port.

  • When writing k as an alias for kubectl if then I write port and try to autocomplete it does not work.
  • When writing kubectl and then port it autocompletes.

My point is that it will be cool to remove kubectx and kubens from the autocompletion. Maybe with an enviroment variable or some type of configuration when installing.