mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
bash_completion: Use "hg paths -q" instead of piping through sed
This commit is contained in:
parent
0d153cc970
commit
6fa586d534
@ -68,7 +68,7 @@ _hg_commands()
|
||||
|
||||
_hg_paths()
|
||||
{
|
||||
local paths="$(_hg_cmd paths | sed -e 's/ = .*$//')"
|
||||
local paths="$(_hg_cmd paths -q)"
|
||||
COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$paths' -- "$cur"))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user