Created
December 22, 2020 09:55
-
-
Save rojenzaman/34cba28f7bafe834f5f228587f816f0a to your computer and use it in GitHub Desktop.
termux env into adb shell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/system/bin/sh | |
| export PREFIX='/data/data/com.termux/files/usr' | |
| export HOME='/data/data/com.termux/files/home' | |
| export LD_LIBRARY_PATH='/data/data/com.termux/files/usr/lib' | |
| export PATH="/data/data/com.termux/files/usr/bin:/data/data/com.termux/files/usr/bin/applets:$PATH" | |
| export LANG='en_US.UTF-8' | |
| export SHELL='/data/data/com.termux/files/usr/bin/bash' | |
| cd "$HOME" | |
| exec "$SHELL" -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment