Mercurial > hg
changeset 14332:a2f0f61a6988
bash_completion: Use "hg paths -q" instead of piping through sed
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Mon, 16 May 2011 11:52:28 +0200 |
parents | 3b9a896af09c |
children | 31a5973fcf96 |
files | contrib/bash_completion |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/bash_completion Mon May 16 11:41:48 2011 +0200 +++ b/contrib/bash_completion Mon May 16 11:52:28 2011 +0200 @@ -68,7 +68,7 @@ _hg_paths() { - local paths="$(_hg_cmd paths | sed -e 's/ = .*$//')" + local paths="$(_hg_cmd paths -q)" COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$paths' -- "$cur")) }