Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/remote-helper-with-signed-tags'
[gitweb.git]
/
contrib
/
completion
/
git-prompt.sh
diff --git
a/contrib/completion/git-prompt.sh
b/contrib/completion/git-prompt.sh
index 756a9514591c7664c82c93d3a6d50d91f46857d8..054c52e90aeabb9a9ab5d4f9ee38b0799126b338 100644
(file)
--- a/
contrib/completion/git-prompt.sh
+++ b/
contrib/completion/git-prompt.sh
@@
-340,7
+340,7
@@
__git_ps1 ()
[ "$(git config --bool bash.showUntrackedFiles)" != "false" ] &&
[ -n "$(git ls-files --others --exclude-standard)" ]
then
- u="%"
+ u="%
${ZSH_VERSION+%}
"
fi
if [ -n "${GIT_PS1_SHOWUPSTREAM-}" ]; then