Mercurial > dotfiles
changeset 56:1c75cab141ae
Fix up the number of spaces required so really long branch names don't screw up the completion.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Fri, 20 Feb 2009 14:21:27 -0600 |
parents | 846d556d9619 |
children | 0ba810271408 |
files | .zfun/_hg |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/.zfun/_hg +++ b/.zfun/_hg @@ -147,7 +147,7 @@ typeset -A _hg_cmd_globals _hg_cmd tags 2> /dev/null | while read tag do - tags+=(${tag/ # [0-9]#:*}) + tags+=(${tag/ # [0-9]#:*}) done (( $#tags )) && _describe -t tags 'tags' tags } @@ -158,7 +158,7 @@ typeset -A _hg_cmd_globals _hg_cmd branches -a 2> /dev/null | while read branch do - branches+=(${branch/ # [0-9]#:*}) + branches+=(${branch/ # [0-9]#:*}) done (( $#branches )) && _describe -t branches 'branches' branches } @@ -169,12 +169,12 @@ typeset -A _hg_cmd_globals _hg_cmd tags 2> /dev/null | while read tag do - branchtags+=(${tag/ # [0-9]#:*}) + branchtags+=(${tag/ # [0-9]#:*}) done _hg_cmd branches -a 2> /dev/null | while read branch do - branchtags+=(${branch/ # [0-9]#:*}) + branchtags+=(${branch/ # [0-9]#:*}) done (( $#branchtags )) && _describe -t branchtags 'branchtags' branchtags }