mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Escape command name in __fish_default_command_not_found_handler
Closes #5102
This commit is contained in:
parent
5b59ab3d9c
commit
38ac7693e9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
echo "fish: Unknown command '$argv'" >&2
|
||||
printf "fish: Unknown command '%s'\n" (string escape $argv) >&2
|
||||
end
|
||||
|
||||
if status --is-interactive
|
||||
|
|
Loading…
Reference in a new issue