Added option to disable right prompt

By setting `set -g $theme_right_prompt = no` the right prompt will be hidden.
pull/58/head
Rickard von Essen 8 years ago
parent 8898658a9a
commit 700a9d17bc

@ -91,6 +91,7 @@ set -g theme_nerd_fonts yes
set -g theme_show_exit_status yes
set -g default_user your_normal_user
set -g theme_color_scheme dark
set -g theme_right_prompt yes
```
**Title options**
@ -104,6 +105,7 @@ set -g theme_color_scheme dark
- `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_git_worktree_support`. If you do any git worktree shenanigans, setting this to `yes` will fix incorrect project-relative path display. If you don't do any git worktree shenanigans, leave it disabled. It's faster this way :)
- `theme_right_prompt`. Use `no` to remove the right side prompt.
**Color scheme options**

@ -35,6 +35,7 @@
# set -g theme_show_exit_status yes
# set -g default_user your_normal_user
# set -g theme_color_scheme dark
# set -g theme_right_prompt yes
# ===========================
# Helper methods

@ -37,6 +37,8 @@ function __bobthefish_timestamp -S -d 'Show the current timestamp'
end
function fish_right_prompt -d 'bobthefish is all about the right prompt'
[ "$theme_right_prompt" = "no" ]; and return
set -l __bobthefish_left_arrow_glyph \uE0B3
if [ "$theme_powerline_fonts" = "no" ]
set __bobthefish_left_arrow_glyph '<'

Loading…
Cancel
Save