diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-04-26 11:12:30 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-04-26 11:12:30 -0700 |
commit | 1a475c4a2f4fead39b4e80dcdfbcf0627dfb5327 (patch) | |
tree | 160543c594d731528801ca0f516abd403c6d8b96 /contrib/completion | |
parent | Merge branch 'jk/receive-pack-deadlocks-with-early-failure' into maint (diff) | |
parent | prompt: fix untracked files for zsh (diff) | |
download | tgif-1a475c4a2f4fead39b4e80dcdfbcf0627dfb5327.tar.xz |
Merge branch 'fc/untracked-zsh-prompt' into maint
* fc/untracked-zsh-prompt:
prompt: fix untracked files for zsh
Diffstat (limited to 'contrib/completion')
-rw-r--r-- | contrib/completion/git-prompt.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/completion/git-prompt.sh b/contrib/completion/git-prompt.sh index 756a951459..054c52e90a 100644 --- 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 |