With the fish shell, you can add an alias with completion support quite easily like so:
To enable completions for kubecolor
, then also add the following:
As a prerequisite, you need kubectl
completions installed.
This can be achieved by adding this to your fish config file: