mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 19:41:15 -03:00
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:
@@ -137,9 +137,10 @@ end
|
||||
#
|
||||
# When a prompt is first displayed, make sure that interactive
|
||||
# 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.
|
||||
#
|
||||
function __fish_on_interactive --on-event fish_prompt
|
||||
function __fish_on_interactive --on-event fish_prompt --on-event fish_read
|
||||
__fish_config_interactive
|
||||
functions -e __fish_on_interactive
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user