Advertisement
Jackspade9624

/data/data/com.termux/files/usr/etc/profile

Apr 17th, 2025
14
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. for i in /data/data/com.termux/files/usr/etc/profile.d/*.sh; do
  2. if [ -r $i ]; then
  3. . $i
  4. fi
  5. done
  6. unset i
  7.  
  8. # Source etc/bash.bashrc and ~/.bashrc also for interactive bash login shells:
  9. if [ "$BASH" ]; then
  10. if [[ "$-" == *"i"* ]]; then
  11. if [ -r /data/data/com.termux/files/usr/etc/bash.bashrc ]; then
  12. . /data/data/com.termux/files/usr/etc/bash.bashrc
  13. fi
  14. if [ -r /data/data/com.termux/files/home/.bashrc ]; then
  15. . /data/data/com.termux/files/home/.bashrc
  16. fi
  17. fi
  18. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement