diff --git a/p11k.el b/p11k.el index 1d6eb37..f1e345c 100644 --- a/p11k.el +++ b/p11k.el @@ -265,7 +265,7 @@ Use 'window-width' to calculate the total final width." nil)))) (p11k/spaced-concat (if (eq p11k/prompt-flow 'fluent) "on" "") - (propertize branch 'face 'p11k/green) + (if branch (propertize branch 'face 'p11k/green) "") (if modcount (propertize modcount 'face 'p11k/yellow) "") (if untracked (propertize untracked 'face 'p11k/blue) ""))) ""))