# cka-sim shell setup for fish: source ./examrc.fish # kubectl matching the cluster of your latest session first on PATH (see examrc) set -l _cka_kubectl (realpath (dirname (status filename)))/.state/kubectl/current contains -- $_cka_kubectl $PATH; or set -gx PATH $_cka_kubectl $PATH alias k kubectl set -gx KUBE_EDITOR (test -n "$KUBE_EDITOR"; and echo $KUBE_EDITOR; or echo vi) # lists, so they expand to separate arguments set -g do --dry-run=client -o yaml set -g now --force --grace-period 0 kubectl completion fish 2>/dev/null | source