#40 adb: Add a context for remote commands to ease overriding
This commit is contained in:
parent
812e448ee5
commit
cb0b448e19
1
_adb
1
_adb
|
@ -97,6 +97,7 @@ _adb() {
|
||||||
&& ret=0
|
&& ret=0
|
||||||
case "$state" in
|
case "$state" in
|
||||||
(remote-command-args)
|
(remote-command-args)
|
||||||
|
curcontext="${curcontext%:*:*}:adb-remote-cmd-$words[1]:"
|
||||||
if (( $+functions[_adb_remote_command_$words[1]_args] )); then
|
if (( $+functions[_adb_remote_command_$words[1]_args] )); then
|
||||||
_adb_remote_command_$words[1] && ret=0
|
_adb_remote_command_$words[1] && ret=0
|
||||||
# TODO Write handlers for following commands:
|
# TODO Write handlers for following commands:
|
||||||
|
|
Loading…
Reference in New Issue