mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 07:56:05 +02:00
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.
This commit is contained in:
1 parent
397c085a19
commit
d0842b431e
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user