Skip to content
Browse files

Fixed bug where a directory under two kinds of SCM, would break the p…

…rompt.
  • Loading branch information...
1 parent b989ec4 commit 2545e756a108730d378667a8a5992415ff5f33fd @RobinRamael committed Feb 2, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/appearance.zsh
View
4 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"
+source "$ZSH/themes/$ZSH_THEME.zsh-theme"

0 comments on commit 2545e75

Please sign in to comment.
Something went wrong with that request. Please try again.