From af3a5b86d89c1b13259ad8e09057b7ba4845e54e Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Wed, 21 Sep 2022 17:00:31 +0200 Subject: [PATCH] Call __fish_config_interactive also for interactive read Not doing this results in our emergency keybindings being set up for `read`. Fixes #9227 --- share/config.fish | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/share/config.fish b/share/config.fish index 8e8406914..1d203bea3 100644 --- a/share/config.fish +++ b/share/config.fish @@ -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