# HG changeset patch # User Augie Fackler # Date 1323712462 21600 # Node ID 88a82069be4aeb036747dd51f867cde8b52e2fde # Parent 43bb9c5ab963256582e06751977bd551c8b1e04b zsh completion: add support for qfinish diff -r 43bb9c5ab963 -r 88a82069be4a contrib/zsh_completion --- 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]' \