mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2026-03-02 03:49:25 +00:00
Update vi mode prompt.
* Default to showing vi mode prompt (if the current bind mode is vi). Allow overriding by setting it `theme_display_vi` to `no`. * Remove `theme_display_vi_hide_mode`, because I don't like the prompt jumping around when changing modes. * Override `fish_mode_prompt` because we're already handling it inside `fish_prompt`. Add a note so future code archeologists can figure out how to override. * Add support for `replace-one` bind mode. Fixes #65
This commit is contained in:
@@ -42,7 +42,6 @@ This theme is based loosely on [agnoster][agnoster].
|
||||
* Background jobs (**`%`**)
|
||||
* You currently have superpowers (**`$`**)
|
||||
* Current vi mode
|
||||
* _You'll need to `set -g theme_display_vi yes` to enable_
|
||||
* `User@Host` (unless you're the default user)
|
||||
* Current RVM, rbenv or chruby (Ruby) version
|
||||
* Current virtualenv (Python) version
|
||||
@@ -77,8 +76,7 @@ set -g theme_display_hg yes
|
||||
set -g theme_display_virtualenv no
|
||||
set -g theme_display_ruby no
|
||||
set -g theme_display_user yes
|
||||
set -g theme_display_vi yes
|
||||
set -g theme_display_vi_hide_mode default
|
||||
set -g theme_display_vi no
|
||||
set -g theme_display_date no
|
||||
set -g theme_display_cmd_duration yes
|
||||
set -g theme_title_display_process yes
|
||||
|
||||
Reference in New Issue
Block a user