From 7debdb75af74d2be147f446abf0e316a76a777e9 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Sun, 3 Nov 2024 16:58:26 +0100 Subject: [PATCH] Fix regression causing fish_cursor_external to be ignored Regressed in 0e97b876e (Simplify fish_vi_cursor, 2024-10-25). --- share/functions/fish_vi_cursor.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/fish_vi_cursor.fish b/share/functions/fish_vi_cursor.fish index 7f7c0cac9..2512a4405 100644 --- a/share/functions/fish_vi_cursor.fish +++ b/share/functions/fish_vi_cursor.fish @@ -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