changeset 3535: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
+++ b/contrib/zsh_completion
@@ -506,7 +506,11 @@ typeset -A _hg_cmd_globals
 _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() {