mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 01:49:38 +08:00
Fix regression causing fish_cursor_external to be ignored
Some checks are pending
make test / ubuntu (push) Waiting to run
make test / ubuntu-32bit-static-pcre2 (push) Waiting to run
make test / ubuntu-asan (push) Waiting to run
make test / macos (push) Waiting to run
Rust checks / rustfmt (push) Waiting to run
Rust checks / clippy (push) Waiting to run
Some checks are pending
make test / ubuntu (push) Waiting to run
make test / ubuntu-32bit-static-pcre2 (push) Waiting to run
make test / ubuntu-asan (push) Waiting to run
make test / macos (push) Waiting to run
Rust checks / rustfmt (push) Waiting to run
Rust checks / clippy (push) Waiting to run
Regressed in 0e97b876e
(Simplify fish_vi_cursor, 2024-10-25).
This commit is contained in:
parent
24a077f804
commit
7debdb75af
|
@ -28,7 +28,7 @@ function fish_vi_cursor -d 'Set cursor shape for different vi modes'
|
|||
|
||||
function fish_vi_cursor_handle_preexec --on-event fish_preexec --on-event fish_exit
|
||||
set -l varname fish_cursor_external
|
||||
if not set -q \$varname
|
||||
if not set -q $varname
|
||||
set varname fish_cursor_default
|
||||
end
|
||||
__fish_vi_cursor $varname
|
||||
|
|
Loading…
Reference in New Issue
Block a user