changeset 18843:4f1e70ef5a79 stable

zsh_completion: fix trailing carriage return spoiling tag completion This was giving the following error: % hg up 2.5-r<Tab> (eval):1: bad substitution % hg up 2.5-r
author Nikolaj Sjujskij <sterkrig@myopera.com>
date Fri, 29 Mar 2013 18:45:07 -0700
parents 662315d6b8b8
children 37f8baaf31d2 afab180307be
files contrib/zsh_completion
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/zsh_completion	Fri Mar 29 15:27:11 2013 -0700
+++ b/contrib/zsh_completion	Fri Mar 29 18:45:07 2013 -0700
@@ -176,7 +176,7 @@
   do
     tags+=(${tag/ #[0-9]#:*})
   done
-  (( $#tags )) && _describe -t tags 'tags' tags
+  (( $#tags )) && _describe -t tags 'tags' tags
 }
 _hg_bookmarks() {
   typeset -a bookmark bookmarks