From c2cde317f24dddb38eae8a31161eff4d7b510630 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Fri, 25 Oct 2024 22:47:20 +0200 Subject: [PATCH] Remove stale FISH_UNIT_TESTS_RUNNING workaround This exists to make sure our assertions pass independent of the terminal but now we unconditionally print __fish_cursor_xterm. --- share/functions/fish_vi_cursor.fish | 6 ------ 1 file changed, 6 deletions(-) diff --git a/share/functions/fish_vi_cursor.fish b/share/functions/fish_vi_cursor.fish index 43476ec94..b446cb15d 100644 --- a/share/functions/fish_vi_cursor.fish +++ b/share/functions/fish_vi_cursor.fish @@ -4,12 +4,6 @@ function fish_vi_cursor -d 'Set cursor shape for different vi modes' return end - # This is hard to test in expect, since the exact sequences depend on the environment. - # Instead disable it. - if set -q FISH_UNIT_TESTS_RUNNING - return - end - set -q fish_cursor_unknown or set -g fish_cursor_unknown block