Ensure VCS is enabled when using segment "vcs_joined"

fixes: https://github.com/bhilburn/powerlevel9k/issues/1116
pull/50/head
matt1003 6 years ago
parent c4a8118b45
commit 690af685ef

@ -1910,7 +1910,7 @@ prompt_powerlevel9k_setup() {
# initialize colors # initialize colors
autoload -U colors && 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 powerlevel9k_vcs_init
fi fi

Loading…
Cancel
Save