mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2025-06-13 13:03:54 +00:00
Merge 700a9d17bc
into d82bd5e214
This commit is contained in:
commit
a10c2cf866
@ -89,6 +89,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**
|
||||
@ -103,6 +104,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**
|
||||
|
||||
|
@ -34,6 +34,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…
Reference in New Issue
Block a user