changeset 3543:fe9c1e886b5e

zsh: complete qguard with +/- guard prefixes
author Brendan Cully <brendan@kublai.com>
date Thu, 26 Oct 2006 00:27:19 -0700
parents bf48ca46139b
children b5de4d5d60be
files contrib/zsh_completion
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/zsh_completion	Wed Oct 25 21:01:00 2006 +0200
+++ b/contrib/zsh_completion	Thu Oct 26 00:27:19 2006 -0700
@@ -519,6 +519,7 @@
 _hg_qguards() {
   typeset -a guards
   local guard
+  compset -P "+|-"
   _hg_cmd qselect -s | while read guard
   do
     guards+=(${guard#(+|-)})