diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-04-23 11:16:58 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-04-23 11:16:58 -0700 |
commit | 741917f40ce180d0f252a46e7a204cf19eb08289 (patch) | |
tree | 687a20ef50a723df81e8b2c79aa33bb0042cb5c3 | |
parent | f87f7424df3e3fba0b0211c9a7fe78fe1e526802 (diff) | |
parent | 24b6132e571bf2e27536d42022f8c0733034d880 (diff) | |
download | git-741917f40ce180d0f252a46e7a204cf19eb08289.tar.gz |
Merge branch 'fc/untracked-zsh-prompt'
* fc/untracked-zsh-prompt:
prompt: fix untracked files for zsh
-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 |