changeset 9923:c0b79fdfd214

zsh completion: add summary
author Brendan Cully <brendan@kublai.com>
date Tue, 24 Nov 2009 11:20:25 -0800
parents e84066a49e3a
children ea3acaae25bb 193a8d539e21
files contrib/zsh_completion
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/zsh_completion	Tue Nov 24 10:25:11 2009 -0600
+++ b/contrib/zsh_completion	Tue Nov 24 11:20:25 2009 -0800
@@ -734,6 +734,11 @@
   '*:files:_files'
 }
 
+_hg_cmd_summary() {
+  _arguments -s -w : $_hg_global_opts \
+  '--remote[check for push and pull]'
+}
+
 _hg_cmd_tag() {
   _arguments -s -w : $_hg_global_opts \
   '(--local -l)'{-l,--local}'[make the tag local]' \