mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 05:43:11 +00:00
Remove __fish_command_not_found_handler
This could lead to an infinite loop (well, stack overflow) because fish_command_not_found would also be defined to call __fish_command_not_found_handler. Since this is for - missing command errors - when downgrading we can just remove it.
This commit is contained in:
parent
58d549e058
commit
576ce5f9f5
1 changed files with 0 additions and 5 deletions
|
@ -258,11 +258,6 @@ function __fish_config_interactive -d "Initializations that should be performed
|
|||
__update_cwd_osc # Run once because we might have already inherited a PWD from an old tab
|
||||
end
|
||||
|
||||
# For backwards-compatibility - the event doesn't exist anymore so it's harmless.
|
||||
function __fish_command_not_found_handler --on-event fish_command_not_found
|
||||
fish_command_not_found $argv
|
||||
end
|
||||
|
||||
# Bump this whenever some code below needs to run once when upgrading to a new version.
|
||||
# The universal variable __fish_initialized is initialized in share/config.fish.
|
||||
set __fish_initialized 3100
|
||||
|
|
Loading…
Reference in a new issue