On Sep 4, 2:54 pm, sdphil <[email protected]> wrote: > i would like to add some commands to be executed every time I run "adb > shell" (for example "alias ls="ls -l""). is there a .bashrc or a .sh > that i could add that to?
I think you may have more luck (at least on a non-rooted phone) injecting this or causing it to be run from the host side.... a did some looking at code and experimenting and one standout problem is that the adb shell doesn't seem to have $HOME set to anything, so it wouldn't seem to know where to look for the script other than in non- writeable (and perhaps non-existent) system directories. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

