git-info: add zsh completion

This commit is contained in:
spacewander 2020-08-25 14:45:12 +08:00
parent ecf0f4847f
commit c386733efd

View file

@ -267,6 +267,13 @@ _git-ignore() {
}
_git-info() {
_arguments -C \
'(--color -c)'{--color,-c}'[use color for information titles]' \
'--no-config[do not show list all variables set in config file, along with their values]'
}
_git-merge-into() {
_arguments '--ff-only[merge only fast-forward]'
_arguments \