mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-30 16:35:16 +08:00
fixup! Escape command name in __fish_default_command_not_found_handler
This commit is contained in:
parent
3b3361685a
commit
8ff0e7441f
@ -12,7 +12,7 @@ or set -g __fish_added_user_paths
|
||||
# Create the default command_not_found handler
|
||||
#
|
||||
function __fish_default_command_not_found_handler
|
||||
printf "fish: Unknown command '%s'\n" (string escape $argv) >&2
|
||||
printf "fish: Unknown command '%s'\n" (string escape -- $argv) >&2
|
||||
end
|
||||
|
||||
if status --is-interactive
|
||||
|
Loading…
x
Reference in New Issue
Block a user