mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00: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:
parent
ceafb65882
commit
af3a5b86d8
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue