jackpal/Android-Terminal-Emulator — Issue #49: Allow "initial command" to be several lines
Author: stefanpersson
Created: 2011-10-25 23:09:57+00:00
State: open

Press Menu key: More: Preferences: Initial command. Here you can fill in one line, and only that. I'm using some programs which need several common environment variables set. Besides, I like to start in the /sdcard directory since I'm usually doing things on the SD card. Since the initial command setting only allows one single line, I have to type "export PATH=abc; export HOME=xyz; export OTHER_THINGS=something_else; cd /sdcard" which quickly gets hard to read because of the length. By listing each "export" and "cd" on a separate line, it would be easier to read the setting and find out what to change whenever an environmental variable needs to be added or needs a new value.