From 7ece724eeb5f531845f6b823dddc02df5e39992c Mon Sep 17 00:00:00 2001 From: James Deng Date: Wed, 29 Nov 2017 14:01:05 +0800 Subject: [PATCH] Adds shell and profile for adb --- adb/adb_profile | 5 +++++ adb/adb_shell | 9 +++++++++ 2 files changed, 14 insertions(+) create mode 100644 adb/adb_profile create mode 100755 adb/adb_shell diff --git a/adb/adb_profile b/adb/adb_profile new file mode 100644 index 0000000..c5086cf --- /dev/null +++ b/adb/adb_profile @@ -0,0 +1,5 @@ +#!/bin/sh + +. /etc/profile + +alias ls='ls --color=no' diff --git a/adb/adb_shell b/adb/adb_shell new file mode 100755 index 0000000..10b4d57 --- /dev/null +++ b/adb/adb_shell @@ -0,0 +1,9 @@ +#!/bin/sh + +export ENV="/etc/adb_profile" + +if [ x$1 = x"-c" ] ; then + /bin/sh -c "$2" +else + /bin/sh +fi