From 43e8bb4532274577cd14512c7bb693e062e7550a Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Fri, 31 Mar 2023 20:06:09 +0200 Subject: [PATCH] fish_vi_cursor: Don't call __fish_cursor_konsole anymore This hasn't been used for years. --- share/functions/fish_vi_cursor.fish | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/share/functions/fish_vi_cursor.fish b/share/functions/fish_vi_cursor.fish index 195a98cb1..3f1e7bbc6 100644 --- a/share/functions/fish_vi_cursor.fish +++ b/share/functions/fish_vi_cursor.fish @@ -61,21 +61,7 @@ function fish_vi_cursor -d 'Set cursor shape for different vi modes' set -q terminal[1] or set terminal auto - set -l function - switch "$terminal" - case auto - # Nowadays, konsole does not set $KONSOLE_PROFILE_NAME anymore, - # and it uses the xterm sequences. - if set -q KONSOLE_PROFILE_NAME - set function __fish_cursor_konsole - else - set function __fish_cursor_xterm - end - case konsole - set function __fish_cursor_konsole - case xterm - set function __fish_cursor_xterm - end + set -l function __fish_cursor_xterm set -q fish_cursor_unknown or set -g fish_cursor_unknown block