my_chezmoi/dot_config/private_fish/functions/k.fish.tmpl

7 lines
187 B
Cheetah

function k --wraps=kubectl --description 'kubectl shorthand'
if type -q kubecolor
{{ lookPath "kubecolor" }} $argv
else
{{ lookPath "kubectl" }} $argv
end
end