Skip to content
Snippets Groups Projects
Commit 4f1e70ef authored by Nikolaj Sjujskij's avatar Nikolaj Sjujskij
Browse files

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
parent 662315d6
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment