##// END OF EJS Templates
bash_completion: Use "hg paths -q" instead of piping through sed
Thomas Arendsen Hein -
r14332:a2f0f61a default
parent child Browse files
Show More
@@ -68,7 +68,7 b' shopt -s extglob'
68
68
69 _hg_paths()
69 _hg_paths()
70 {
70 {
71 local paths="$(_hg_cmd paths | sed -e 's/ = .*$//')"
71 local paths="$(_hg_cmd paths -q)"
72 COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$paths' -- "$cur"))
72 COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$paths' -- "$cur"))
73 }
73 }
74
74
General Comments 0
You need to be logged in to leave comments. Login now