changeset 235 | 3c0d218db7a3 |
parent 231 | 84c9533f2675 |
child 236 | 8469af3b5d40 |
234:420c06da8fd1 | 235:3c0d218db7a3 |
---|---|
200 complete -c command type which |
200 complete -c command type which |
201 |
201 |
202 # builtin completes on builtins |
202 # builtin completes on builtins |
203 complete -b builtin |
203 complete -b builtin |
204 |
204 |
205 _hgsyncew() { |
|
206 local curr=${COMP_WORDS[$COMP_CWORD]} |
|
207 COMPREPLY=( $(compgen -W "--push" -- $curr) ) |
|
208 return 0 |
|
209 } |
|
210 complete -F _hgsyncew -o nospace hgsyncew |
|
211 |