Fixed minimal.zsh-theme's check for in_hg.

This commit is contained in:
Stephan Telling 2016-11-10 09:42:29 +01:00
parent 0b340bc3a5
commit a9532cb7e5
No known key found for this signature in database
GPG Key ID: C07DFD6208200C9D

View File

@ -14,7 +14,7 @@ ZSH_THEME_HG_PROMPT_CLEAN=$ZSH_THEME_GIT_PROMPT_CLEAN
vcs_status() { vcs_status() {
if [[ $(whence in_svn) != "" ]] && in_svn; then if [[ $(whence in_svn) != "" ]] && in_svn; then
svn_prompt_info svn_prompt_info
elif [[ $(whence in_hg) != "" ]] && in_hg; then elif [[ $(whence in_hg) != "" && $(in_hg) == 1 ]]; then
hg_prompt_info hg_prompt_info
else else
git_prompt_info git_prompt_info