Show More
@@ -15,7 +15,8 shopt -s extglob | |||||
15 |
|
15 | |||
16 | _hg_commands() |
|
16 | _hg_commands() | |
17 | { |
|
17 | { | |
18 | local commands="$("$hg" debugcomplete "$cur")" |
|
18 | local commands | |
|
19 | commands="$("$hg" debugcomplete "$cur" 2>/dev/null)" || commands="" | |||
19 | COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$commands' -- "$cur")) |
|
20 | COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$commands' -- "$cur")) | |
20 | } |
|
21 | } | |
21 |
|
22 |
General Comments 0
You need to be logged in to leave comments.
Login now