From 14eca11a217c4f78ec8f60f7edfbc4aa5c9b430b Mon Sep 17 00:00:00 2001 From: Darren Kidd Date: Sun, 18 Oct 2020 16:26:15 +1300 Subject: [PATCH] Use new theme var with better name (docs to follow) --- fish_prompt.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fish_prompt.fish b/fish_prompt.fish index f520f60..58f8dce 100644 --- a/fish_prompt.fish +++ b/fish_prompt.fish @@ -81,7 +81,7 @@ function __bobthefish_git_branch -S -d 'Get the current git branch (or commitish [ -n "$theme_git_default_branches" ] or set -l theme_git_default_branches master main - [ "$theme_display_git_master_branch" != 'yes' ] + [ "$theme_display_git_master_branch" != 'yes' -a "$theme_display_git_default_branch" != 'yes' ] and contains $branch $theme_git_default_branches and echo $branch_glyph and return