changeset 3549:3dbec3f6d3a2

zsh: add qbase and qtip to qapplied completions
author Brendan Cully <brendan@kublai.com>
date Thu, 26 Oct 2006 09:46:08 -0700
parents 811e6c95485c
children ef80b13df85a
files contrib/zsh_completion
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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() {