[PATCH v5 0/3] completion: refactor and zsh wrapper
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- Oct 14, 2012, 15:52 UTC
- Message-ID
- <1350229971-9343-1-git-send-email-felipe.contreras@gmail.com>
Hi,
Here's a bit of reorganition. I'm introducing a new __gitcompadd helper that is useful to wrapp all changes to COMPREPLY. 2nd and 3rd patches show how it's useful.
The zsh wrapper is now very very simple, but I haven't received much feedback yet. I hope it will get in at some point in time.
Felipe Contreras (3): completion: add new __gitcompadd helper tests: use __gitcompadd to simplify completion tests completion: add new zsh completion
contrib/completion/git-completion.bash | 65 ++++++++++++++++++---------------- contrib/completion/git-completion.zsh | 48 +++++++++++++++++++++++++ t/t9902-completion.sh | 29 +++++---------- 3 files changed, 91 insertions(+), 51 deletions(-) create mode 100644 contrib/completion/git-completion.zsh
-- 1.7.12.1