my_chezmoi/dot_config/private_fish/functions/k.fish

8 lines
187 B
Fish
Raw Normal View History

2023-12-24 11:43:10 -05:00
function k --wraps=kubectl --description 'kubectl shorthand'
if type -q kubecolor
{{ lookPath "kubecolor" }} $argv
else
{{ lookPath "kubectl" }} $argv
end
end