fish_command_not_found: Actually define default handler

Fixes #7777
This commit is contained in:
Fabian Homborg 2021-03-04 18:29:49 +01:00
parent ece0aa5324
commit b1c5e003ef

View File

@ -68,5 +68,9 @@ else if type -q pacman
__fish_default_command_not_found_handler $argv[1]
pacman -F $paths
end
else
# Use standard fish command not found handler otherwise
function fish_command_not_found --on-event fish_command_not_found
__fish_default_command_not_found_handler $argv
end
end
# Use standard fish command not found handler otherwise