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,7 +46,7 @@ done
function get_scm_prompt () { function get_scm_prompt () {
for scm in $scms; do for scm in $scms; do
if [ $("scm_in_"$scm"_repo") ]; then if [ $("scm_in_"$scm"_repo") ]; then
echo `"scm_"$scm"_prompt_info"` echo -n `"scm_"$scm"_prompt_info"`
fi fi
done done
} }