Skip to content

Commit

Permalink
fix: calling rm command in fish
Browse files Browse the repository at this point in the history
  • Loading branch information
LoHertel committed May 22, 2024
1 parent e96e19e commit 5851dcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/switch/switch.fish
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function kubeswitch

set -l switchTmpDirectory "$HOME/.kube/.switch_tmp/config"
if test -n "$KUBECONFIG"; and string match -q "*$switchTmpDirectory*" -- "$KUBECONFIG"
\rm -f "$KUBECONFIG"
command rm -f "$KUBECONFIG"
end

set -gx KUBECONFIG "$KUBECONFIG_PATH"
Expand Down

0 comments on commit 5851dcb

Please sign in to comment.