mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2025-06-13 13:03:54 +00:00
sometimes you do not want a right prompt
This commit is contained in:
parent
3db31f0c52
commit
dfd8947666
@ -78,6 +78,7 @@ set -g theme_avoid_ambiguous_glyphs yes
|
||||
set -g theme_nerd_fonts yes
|
||||
set -g theme_show_exit_status yes
|
||||
set -g default_user your_normal_user
|
||||
set -g theme_display_right no
|
||||
```
|
||||
|
||||
**Title options**
|
||||
@ -90,6 +91,7 @@ set -g default_user your_normal_user
|
||||
- `theme_display_ruby`. Use `no` to completely hide all information about Ruby version. By default Ruby version displayed if there is the difference from default settings.
|
||||
- `theme_display_vagrant`. This feature is disabled by default, use `yes` to display Vagrant status in your prompt. Please note that only the VirtualBox and VMWare providers are supported.
|
||||
- `theme_show_exit_status`. Set this option to yes to have the prompt show the last exit code if it was non_zero instead of just the exclamation mark.
|
||||
- `theme_display_right`. Use `no` to completely hide the right-side prompt.
|
||||
|
||||
[fish]: https://github.com/fish-shell/fish-shell
|
||||
[screenshot]: http://i.0x7f.us/bobthefish.png
|
||||
|
@ -30,6 +30,7 @@ function __bobthefish_timestamp -S -d 'Show the current timestamp'
|
||||
end
|
||||
|
||||
function fish_right_prompt -d 'bobthefish is all about the right prompt'
|
||||
[ "$theme_display_right" = 'no' ]; and return
|
||||
set -l __bobthefish_left_arrow_glyph \uE0B3
|
||||
|
||||
set_color $fish_color_autosuggestion[1]
|
||||
|
Loading…
Reference in New Issue
Block a user