If things are working then don't change anything :-)
You are right, we ought to make provisions for searching the new mobile structure, but not today. Here's my complete /.profile file with annotations
Someday I will document the file paths, but not today.
# System-wide .profile for sh(1); lives in /.profile on my iPhone
# mickey - 20071030 - /var/root/bin added for Erica's Utilities
# mickey - 20071029 - changed TERM from vt102 to ansi
# mickey - 20070930 - added ifconfig to show IP address on start
# PATH - how UNIX finds the application programs you've requested
# TERM - how the system displays text, processes backspaces, etc.
TERM="ansi" # vt102
# ifconfig - display Wi-Fi IP address, if any
ifconfig en0 | grep inet | sed 's/ /_/g' | cut -f 2-2 -d '_'