Call __fish_config_interactive also for interactive read

Not doing this results in our emergency keybindings being set up for
`read`.

Fixes #9227
This commit is contained in:
Fabian Boehm 2022-09-21 17:00:31 +02:00
parent ceafb65882
commit af3a5b86d8

View file

@ -137,9 +137,10 @@ end
# #
# When a prompt is first displayed, make sure that interactive # When a prompt is first displayed, make sure that interactive
# mode-specific initializations have been performed. # mode-specific initializations have been performed.
# This includes a `read` prompt, hence the fish_read event.
# This handler removes itself after it is first called. # This handler removes itself after it is first called.
# #
function __fish_on_interactive --on-event fish_prompt function __fish_on_interactive --on-event fish_prompt --on-event fish_read
__fish_config_interactive __fish_config_interactive
functions -e __fish_on_interactive functions -e __fish_on_interactive
end end