mirror of
https://github.com/git/git
synced 2024-10-28 19:25:47 +00:00
Merge branch 'fc/untracked-zsh-prompt'
* fc/untracked-zsh-prompt: prompt: fix untracked files for zsh
This commit is contained in:
commit
741917f40c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue