mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2024-10-27 20:34:23 +00:00
Show vi mode prompt in hybrid key bindings too.
This commit is contained in:
parent
cbae8ad3fc
commit
1eb4cf63ac
@ -577,7 +577,8 @@ function __bobthefish_prompt_dir -S -d 'Display a shortened form of the current
|
||||
end
|
||||
|
||||
function __bobthefish_prompt_vi -S -d 'Display vi mode'
|
||||
[ "$theme_display_vi" != 'no' -a "$fish_key_bindings" = 'fish_vi_key_bindings' ]; or return
|
||||
[ "$theme_display_vi" != 'no' ]; or return
|
||||
[ "$fish_key_bindings" = 'fish_hybrid_key_bindings' -o "$fish_key_bindings" = 'fish_vi_key_bindings' ]; or return
|
||||
switch $fish_bind_mode
|
||||
case default
|
||||
__bobthefish_start_segment $__color_vi_mode_default
|
||||
|
Loading…
Reference in New Issue
Block a user