git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
cb9dcbd
)
completion: zsh: fix for directories with spaces
author
Felipe Contreras
<redacted>
Sun, 25 Oct 2020 03:13:19 +0000
(22:13 -0500)
committer
Junio C Hamano
<redacted>
Mon, 26 Oct 2020 22:23:26 +0000
(15:23 -0700)
Signed-off-by: Felipe Contreras <redacted>
Signed-off-by: Junio C Hamano <redacted>
contrib/completion/git-completion.zsh
patch
|
blob
|
history
diff --git
a/contrib/completion/git-completion.zsh
b/contrib/completion/git-completion.zsh
index 05ccaac194b15c823d61c721d6e193c6ec8d2757..5d6740c6fffc678f151567c2ab191c6cf89de92d 100644
(file)
--- a/
contrib/completion/git-completion.zsh
+++ b/
contrib/completion/git-completion.zsh
@@
-35,7
+35,7
@@
if [ -z "$script" ]; then
local -a locations
local e
locations=(
-
$(dirname ${funcsourcetrace[1]%:*})
/git-completion.bash
+
"$(dirname ${funcsourcetrace[1]%:*})"
/git-completion.bash
'/etc/bash_completion.d/git' # fedora, old debian
'/usr/share/bash-completion/completions/git' # arch, ubuntu, new debian
'/usr/share/bash-completion/git' # gentoo
git clone https://git.99rst.org/PROJECT