zsh: add qbase and qtip to qapplied completions
authorBrendan Cully <brendan@kublai.com>
Thu, 26 Oct 2006 09:46:08 -0700
changeset 3549 3dbec3f6d3a2
parent 3548 811e6c95485c
child 3550 ef80b13df85a
zsh: add qbase and qtip to qapplied completions
contrib/zsh_completion
--- a/contrib/zsh_completion	Thu Oct 26 09:44:03 2006 -0700
+++ b/contrib/zsh_completion	Thu Oct 26 09:46:08 2006 -0700
@@ -506,7 +506,11 @@
 _hg_qapplied() {
   typeset -a patches
   patches=($(_hg_cmd qapplied))
-  (( $#patches )) && _describe -t hg-applied-patches 'applied patches' patches
+  if (( $#patches ))
+  then
+    patches+=(qbase qtip)
+    _describe -t hg-applied-patches 'applied patches' patches
+  fi
 }
 
 _hg_qunapplied() {