Mercurial > hg
changeset 15645:88a82069be4a
zsh completion: add support for qfinish
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Mon, 12 Dec 2011 11:54:22 -0600 |
parents | 43bb9c5ab963 |
children | 218ec96c45d7 |
files | contrib/zsh_completion |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/zsh_completion Thu Dec 15 14:24:38 2011 -0600 +++ b/contrib/zsh_completion Mon Dec 12 11:54:22 2011 -0600 @@ -880,6 +880,12 @@ '*:pattern:_hg_files' } +_hg_cmd_qfinish() { + _arguments -s -w : $_hg_global_opts \ + '(--all -a)'{-a,--all}'[finish all patches]' \ + '*:patch:_hg_qapplied' +} + _hg_cmd_qfold() { _arguments -s -w : $_hg_global_opts $_h_commit_opts \ '(--keep,-k)'{-k,--keep}'[keep folded patch files]' \