From 2545e756a108730d378667a8a5992415ff5f33fd Mon Sep 17 00:00:00 2001 From: Robin Ramael Date: Wed, 2 Feb 2011 01:27:17 +0100 Subject: [PATCH] Fixed bug where a directory under two kinds of SCM, would break the prompt. --- lib/appearance.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/appearance.zsh b/lib/appearance.zsh index 1e6c8d1f1..f25f7edc5 100644 --- a/lib/appearance.zsh +++ b/lib/appearance.zsh @@ -46,10 +46,10 @@ done function get_scm_prompt () { for scm in $scms; do if [ $("scm_in_"$scm"_repo") ]; then - echo `"scm_"$scm"_prompt_info"` + echo -n `"scm_"$scm"_prompt_info"` fi done } # Load the theme -source "$ZSH/themes/$ZSH_THEME.zsh-theme" \ No newline at end of file +source "$ZSH/themes/$ZSH_THEME.zsh-theme"