Powerlevel9k / powerlevel9k

Powerlevel9k was a tool for building a beautiful and highly functional CLI, customized for you. P9k had a substantial impact on CLI UX, and its legacy is now continued by P10k.
https://github.com/romkatv/powerlevel10k
MIT License
13.47k stars 947 forks source link

[Bugfix] Ensure that vcs init is invoked when using the "vcs_joined" segment. #1226

Closed matt1003 closed 5 years ago

matt1003 commented 5 years ago

[Bugfix] Ensure that vcs init is invoked when using the "vcs_joined" segment.

This pull request resolves the prompt_vcs:6: command not found: vcs_info error that occurs when using the vcs_joined segment in place of the vcs segment. Fixes #1116.

dritter commented 5 years ago

Hi @matt1003 ,

thanks for your PR. I changed it a little bit, so it generally takes joined segments into account when examining segments in use. Could you please test if that works as well for you and cycle that info back to us? That would be awesome.

Thanks in advance

matt1003 commented 5 years ago

Looks good. I will test it in a couple of days.

matt1003 commented 5 years ago

Works perfectly!

dritter commented 5 years ago

Awesome! Thanks @matt1003