mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 07:18:08 +08:00
Disable vi-cursor in tests
Otherwise this breaks if run inside a terminal that could do the cursor.
This commit is contained in:
parent
8f3f4bbc9c
commit
afff93bdb2
@ -4,6 +4,12 @@ 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
|
||||
|
||||
# Emacs Makes All Cursors Suck
|
||||
if set -q INSIDE_EMACS
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user