Ensure VCS is enabled when using segment "vcs_joined"

fixes: https://github.com/bhilburn/powerlevel9k/issues/1116
This commit is contained in:
matt1003 2019-03-25 17:17:04 +13:00
parent c4a8118b45
commit 690af685ef

View File

@ -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