summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatt1003 <matt1003@gmail.com>2019-03-25 07:17:04 +0300
committermatt1003 <matt1003@gmail.com>2019-03-25 07:17:04 +0300
commit690af685ef939307a6dd944c00ece0ae90fc0367 (patch)
tree3635803c43e1b182a8cb19241aaa1f4b90ac83ad
parentc4a8118b4574b5746da3cf99ea2b8f11500470ad (diff)
Ensure VCS is enabled when using segment "vcs_joined"
fixes: https://github.com/bhilburn/powerlevel9k/issues/1116
-rwxr-xr-xpowerlevel9k.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index 4939cb35..9693dd8c 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -1910,7 +1910,7 @@ prompt_powerlevel9k_setup() {
# initialize colors
autoload -U colors && colors
- if segment_in_use "vcs"; then
+ if segment_in_use "vcs" || segment_in_use "vcs_joined"; then
powerlevel9k_vcs_init
fi