summaryrefslogtreecommitdiff
path: root/contrib/completion
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-11-02 21:17:40 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-11-02 21:17:40 (GMT)
commitbbdbe08bd73fa9dcd92c613874d06fe719059326 (patch)
tree21190412accda65e44529d0296e5e4cb049b6f28 /contrib/completion
parente0f6ad2984918e316df9bd5bf6b90fe6e885beee (diff)
parent3ebd9457353f16c523503d6434636e05686d7f6c (diff)
downloadgit-bbdbe08bd73fa9dcd92c613874d06fe719059326.zip
git-bbdbe08bd73fa9dcd92c613874d06fe719059326.tar.gz
git-bbdbe08bd73fa9dcd92c613874d06fe719059326.tar.bz2
Merge branch 'lo/zsh-completion'
Update instructions for command line completion (in contrib/) for zsh. * lo/zsh-completion: completion: fix zsh installation instructions
Diffstat (limited to 'contrib/completion')
-rw-r--r--contrib/completion/git-completion.zsh3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.zsh b/contrib/completion/git-completion.zsh
index ce47e86..1078690 100644
--- a/contrib/completion/git-completion.zsh
+++ b/contrib/completion/git-completion.zsh
@@ -9,13 +9,14 @@
#
# If your script is somewhere else, you can configure it on your ~/.zshrc:
#
-# zstyle ':completion:*:*:git:*' script ~/.git-completion.zsh
+# zstyle ':completion:*:*:git:*' script ~/.git-completion.bash
#
# The recommended way to install this script is to make a copy of it in
# ~/.zsh/ directory as ~/.zsh/git-completion.zsh and then add the following
# to your ~/.zshrc file:
#
# fpath=(~/.zsh $fpath)
+# autoload -Uz compinit && compinit
complete ()
{