[PATCH v6 0/3] completion: refactor and zsh wrapper
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- Oct 22, 2012, 01:45 UTC
- Message-ID
- <1350870342-22653-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, but first, lets get rid of unnecessary assignments as SZEDER suggested.
The zsh wrapper is now very very simple.
Since v5: * Get rid of unnecessary COMPREPLY assignments
Felipe Contreras (3): completion: get rid of empty COMPREPLY assignments completion: add new __gitcompadd helper completion: add new zsh completion
contrib/completion/git-completion.bash | 41 ++++++----------------------- contrib/completion/git-completion.zsh | 48 ++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 33 deletions(-) create mode 100644 contrib/completion/git-completion.zsh
-- 1.8.0