if type -q kubectl
    kubectl completion fish | source
end