Fixed bug where a directory under two kinds of SCM, would break the prompt.

This commit is contained in:
Robin Ramael 2011-02-02 01:27:17 +01:00
commit 2545e756a1

View file

@ -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"
source "$ZSH/themes/$ZSH_THEME.zsh-theme"