From cb0b448e19c8cd56d4bd787811db44f9bdda2e7f Mon Sep 17 00:00:00 2001 From: Julien Nicoulaud Date: Sun, 21 Aug 2011 21:59:56 +0200 Subject: [PATCH] #40 adb: Add a context for remote commands to ease overriding --- _adb | 1 + 1 file changed, 1 insertion(+) diff --git a/_adb b/_adb index ac0db72..545af41 100644 --- a/_adb +++ b/_adb @@ -97,6 +97,7 @@ _adb() { && ret=0 case "$state" in (remote-command-args) + curcontext="${curcontext%:*:*}:adb-remote-cmd-$words[1]:" if (( $+functions[_adb_remote_command_$words[1]_args] )); then _adb_remote_command_$words[1] && ret=0 # TODO Write handlers for following commands: