diff --git a/README.md b/README.md index 327695b..43ed9e4 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ set -g theme_avoid_ambiguous_glyphs yes set -g theme_powerline_fonts no set -g theme_nerd_fonts yes set -g theme_show_exit_status yes -set -g theme_show_job_number yes +set -g theme_display_jobs_verbose yes set -g default_user your_normal_user set -g theme_color_scheme dark set -g fish_prompt_pwd_dir_length 0 @@ -124,7 +124,7 @@ set -g theme_newline_prompt '$ ' - `theme_display_user`. If set to `yes`, display username always, if set to `ssh`, only when an SSH-Session is detected, if set to no, never. - `theme_display_hostname`. Same behaviour as `theme_display_user`. - `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_show_job_number`. If set to `yes` this option displays the number of currently running background jobs next to the percent sign. +- `theme_display_jobs_verbose`. If set to `yes` this option displays the number of currently running background jobs next to the percent sign. - `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_use_abbreviated_branch_name`. Set to `yes` to truncate git branch names in the prompt. - `fish_prompt_pwd_dir_length`. bobthefish respects the Fish `$fish_prompt_pwd_dir_length` setting to abbreviate the prompt path. Set to `0` to show the full path, `1` (default) to show only the first character of each parent directory name, or any other number to show up to that many characters. diff --git a/fish_prompt.fish b/fish_prompt.fish index 5314c26..f10f00f 100644 --- a/fish_prompt.fish +++ b/fish_prompt.fish @@ -39,7 +39,7 @@ # set -g theme_powerline_fonts no # set -g theme_nerd_fonts yes # set -g theme_show_exit_status yes -# set -g theme_show_job_number yes +# set -g theme_display_jobs_verbose yes # set -g default_user your_normal_user # set -g theme_color_scheme dark # set -g fish_prompt_pwd_dir_length 0 @@ -451,7 +451,7 @@ function __bobthefish_prompt_status -S -a last_status -d 'Display flags for a no if [ "$bg_jobs" ] set_color normal set_color -b $color_initial_segment_jobs - if [ "$theme_show_job_number" = 'yes' ] + if [ "$theme_display_jobs_verbose" = 'yes' ] echo -ns $bg_job_glyph $bg_jobs ' ' else echo -n $bg_job_glyph