Show More
@@ -7,7 +7,7 b' shopt -s extglob' | |||
|
7 | 7 | all=($(hg --debug help | sed -e '1,/^list of commands:/d' \ |
|
8 | 8 | -e '/^global options:/,$d' \ |
|
9 | 9 | -e '/^ [^ ]/!d; s/^ //; s/[,:]//g;')) |
|
10 | ||
|
10 | ||
|
11 | 11 | commands="${all[*]##debug*}" |
|
12 | 12 | result=$(compgen -W "${commands[*]}" -- "$cur") |
|
13 | 13 | |
@@ -168,7 +168,7 b' shopt -s extglob' | |||
|
168 | 168 | fi |
|
169 | 169 | ;; |
|
170 | 170 | *) |
|
171 |
|
|
|
171 | COMPREPLY=(${COMPREPLY[@]:-} $( compgen -f -- "$cur" )) | |
|
172 | 172 | ;; |
|
173 | 173 | esac |
|
174 | 174 |
General Comments 0
You need to be logged in to leave comments.
Login now