From a9532cb7e594a0570af8001cd90d6c55b127c2e6 Mon Sep 17 00:00:00 2001 From: Stephan Telling Date: Thu, 10 Nov 2016 09:42:29 +0100 Subject: [PATCH] Fixed minimal.zsh-theme's check for in_hg. --- themes/minimal.zsh-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/minimal.zsh-theme b/themes/minimal.zsh-theme index e05df9c9..2d4df5e1 100644 --- a/themes/minimal.zsh-theme +++ b/themes/minimal.zsh-theme @@ -14,7 +14,7 @@ ZSH_THEME_HG_PROMPT_CLEAN=$ZSH_THEME_GIT_PROMPT_CLEAN vcs_status() { if [[ $(whence in_svn) != "" ]] && in_svn; then svn_prompt_info - elif [[ $(whence in_hg) != "" ]] && in_hg; then + elif [[ $(whence in_hg) != "" && $(in_hg) == 1 ]]; then hg_prompt_info else git_prompt_info