diff --git a/README.md b/README.md index 6385354..fef3682 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/fish_right_prompt.fish b/fish_right_prompt.fish index eeccb58..d8ac4fc 100644 --- a/fish_right_prompt.fish +++ b/fish_right_prompt.fish @@ -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]