diff options
author | Filipe Chagas <filipe@ochagas.com> | 2012-12-28 17:37:48 -0200 |
---|---|---|
committer | Filipe Chagas <filipe@ochagas.com> | 2012-12-28 17:37:48 -0200 |
commit | d0842b431e9ebae66ae9373e9e5614341c6f5803 (patch) | |
tree | 65fecb80a9902aaac77bab0217f831f74e3d7e57 | |
parent | 397c085a19a22f6be515665835d09a2505cb3f23 (diff) | |
download | zsh-d0842b431e9ebae66ae9373e9e5614341c6f5803.tar.gz zsh-d0842b431e9ebae66ae9373e9e5614341c6f5803.tar.bz2 zsh-d0842b431e9ebae66ae9373e9e5614341c6f5803.zip |
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.
-rw-r--r-- | plugins/gitfast/git-prompt.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gitfast/git-prompt.sh b/plugins/gitfast/git-prompt.sh index bf20491ec..afd76e86e 100644 --- a/plugins/gitfast/git-prompt.sh +++ b/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 |