Fixed minimal.zsh-theme's check for in_hg.
This commit is contained in:
parent
0b340bc3a5
commit
a9532cb7e5
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user