contrib/zsh_completion
changeset 18419 45bb5df43b81
parent 17403 02ed64caddc4
child 18420 c2792fe15025
--- a/contrib/zsh_completion	Wed Jan 16 20:52:56 2013 +0100
+++ b/contrib/zsh_completion	Thu Jan 17 01:55:50 2013 +0100
@@ -174,11 +174,10 @@
 
   _hg_cmd tags | while read tag
   do
-    tags+=(${tag/ #    [0-9]#:*})
+    tags+=(${tag/ #[0-9]#:*})
   done
-  (( $#tags )) && _describe -t tags 'tags' tags
+  (( $#tags )) && _describe -t tags 'tags' tags
 }
-
 _hg_bookmarks() {
   typeset -a bookmark bookmarks
 
@@ -198,7 +197,7 @@
 
   _hg_cmd branches | while read branch
   do
-    branches+=(${branch/ #    [0-9]#:*})
+    branches+=(${branch/ #[0-9]#:*})
   done
   (( $#branches )) && _describe -t branches 'branches' branches
 }