fish_vi_cursor: add support for alternative foot terminfos

Foot has several terminfos:

* foot - the default one
* foot-direct - 24-bit color terminfo, similar to xterm-direct (used by e.g. emacs)
* foot-extra - alternative to the ncurses provided terminfo, with a couple of extra, non-standard
capabilities
* foot-extra-direct - 24-bit color version of the above

There may also be other distro-custom terminfo names (serving the same purpose as foot-extra*)
This commit is contained in:
Daniel Eklöf 2021-11-08 20:01:43 +01:00 committed by Fabian Homborg
parent c5530421f7
commit bfedb3608f

View file

@ -51,7 +51,7 @@ function fish_vi_cursor -d 'Set cursor shape for different vi modes'
and not string match -q 'xterm-kitty*' -- $TERM
and not string match -q 'rxvt*' -- $TERM
and not string match -q 'alacritty*' -- $TERM
and not string match -q 'foot' -- $TERM
and not string match -q 'foot*' -- $TERM
return
end