Skip to content

Commit

Permalink
Merge pull request #125 from LoHertel/fix/fish-rm
Browse files Browse the repository at this point in the history
fix: calling `rm` command in hack/switch/switch.fish
  • Loading branch information
danielfoehrKn authored May 24, 2024
2 parents e96e19e + 5851dcb commit b793fad
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 b793fad

Please sign in to comment.