mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
parent
6e3ea5b2ea
commit
35e769d494
1 changed files with 7 additions and 1 deletions
|
@ -9,12 +9,18 @@ function fish_vi_cursor -d 'Set cursor shape for different vi modes'
|
|||
if set -q KONSOLE_PROFILE_NAME
|
||||
set fcn __fish_cursor_konsole
|
||||
set uses_echo 1
|
||||
else if set -q XTERM_LOCALE
|
||||
else if string match -q "xterm*" -- $TERM
|
||||
set fcn __fish_cursor_xterm
|
||||
set uses_echo 1
|
||||
else
|
||||
return 1
|
||||
end
|
||||
case konsole
|
||||
set fcn __fish_cursor_konsole
|
||||
set uses_echo 1
|
||||
case xterm
|
||||
set fcn __fish_cursor_xterm
|
||||
set uses_echo 1
|
||||
end
|
||||
|
||||
set -l tmux_prefix
|
||||
|
|
Loading…
Reference in a new issue