mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-20 00:42:47 +08:00
Fix command_not_found when not found
This commit is contained in:
parent
db34460bb5
commit
26333721b9
|
@ -231,7 +231,7 @@ function __fish_config_interactive -d "Initializations that should be performed
|
|||
end
|
||||
# Use standard fish command not found handler otherwise
|
||||
else
|
||||
function __fish_command_not_found_handler --on-event fish_command_not_found
|
||||
function fish_command_not_found_handler --on-event fish_command_not_found
|
||||
echo fish: Unknown command "'$argv'" >&2
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user