contrib/zsh_completion
changeset 15645 88a82069be4a
parent 15100 a051f8a6a7cc
child 16330 a5a3af000e0d
--- 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]' \