mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 12:04:39 +08:00
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.
This commit is contained in:
parent
04c9134275
commit
c2cde317f2
|
@ -4,12 +4,6 @@ function fish_vi_cursor -d 'Set cursor shape for different vi modes'
|
||||||
return
|
return
|
||||||
end
|
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
|
set -q fish_cursor_unknown
|
||||||
or set -g fish_cursor_unknown block
|
or set -g fish_cursor_unknown block
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user