]> git.wh0rd.org - home.git/commitdiff
add adk_path helper
authorMike Frysinger <vapier@gentoo.org>
Fri, 28 Feb 2014 23:31:59 +0000 (18:31 -0500)
committerMike Frysinger <vapier@gentoo.org>
Fri, 28 Feb 2014 23:37:59 +0000 (18:37 -0500)
.profile.d/aliases.sh

index e58dd15b0181ed86323a11e8b0a416cc6b3e709c..ddb898c81d17ffb10ee9d585a93786364a4eb3b5 100644 (file)
@@ -35,6 +35,11 @@ alias xine='xine -l'
 
 alias wol-vapier='wakeonlan -i 192.168.1.255 00:25:22:64:19:79; wakeonlan -i 192.168.0.255 00:25:22:64:19:79'
 
+adk_path() {
+       local adk=/usr/local/src/android/adk/current/sdk
+       PATH+=":${adk}/tools:${adk}/platform-tools"
+}
+
 pd() {
        if [[ $# -eq 0 ]] ; then
                popd