Browse Source

Fix gitfast problem for untracket files

When showing the char % for untracket files, it was not being escaped
so there was shown a space in the place. It was also removing any char
that was right just after.
Filipe Chagas 12 years ago
parent
commit
d0842b431e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/gitfast/git-prompt.sh

+ 1 - 1
plugins/gitfast/git-prompt.sh

@@ -275,7 +275,7 @@ __git_ps1 ()
 
 			if [ -n "${GIT_PS1_SHOWUNTRACKEDFILES-}" ]; then
 				if [ -n "$(git ls-files --others --exclude-standard)" ]; then
-					u="%"
+					u="%%"
 				fi
 			fi