Skip to content

Instantly share code, notes, and snippets.

@mjdorma
mjdorma / adb-stty-cd-data-local-tmp2.diff
Last active August 29, 2015 14:18 — forked from jduck/adb-stty-cd-data-local-tmp2.diff
Patch for AOSP's adb client to automatically change directory, set terminal size, and set environment vars.
#
# patch adb to:
# 1. use busybox to set the same terminal size
# 2. change directory to /data/local/tmp automatically
#
# NOTE: needs an executable busybox in /data/local/tmp
#
# Joshua J. Drake - jduck
#