mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Call fish_vi_cursor_handle also for interactive read
Not doing this results in the cursor not being initially set for `read`.
This commit is contained in:
parent
a5dfa84f73
commit
86afc7832d
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ function fish_vi_cursor -d 'Set cursor shape for different vi modes'
|
|||
or set -g fish_cursor_unknown block
|
||||
|
||||
echo "
|
||||
function fish_vi_cursor_handle --on-variable fish_bind_mode --on-event fish_postexec --on-event fish_focus_in
|
||||
function fish_vi_cursor_handle --on-variable fish_bind_mode --on-event fish_postexec --on-event fish_focus_in --on-event fish_read
|
||||
set -l varname fish_cursor_\$fish_bind_mode
|
||||
if not set -q \$varname
|
||||
set varname fish_cursor_unknown
|
||||
|
|
Loading…
Reference in a new issue