diff --git a/share/functions/delete-or-exit.fish b/share/functions/delete-or-exit.fish index 771a6bc3f..2a8d7286c 100644 --- a/share/functions/delete-or-exit.fish +++ b/share/functions/delete-or-exit.fish @@ -9,7 +9,7 @@ function delete-or-exit set -l cmd (commandline) - switch $cmd + switch "$cmd" case '' exit 0