Aliases normally go in a .kshrc file (or the equivalent for whatever shell
you’re using).
To have the ksh execute your .kshrc put “export ENV=$HOME/.kshrc” in your
…profile.
To make “global” aliases what we do on our systems is have a /.kshrc and
~/.mykshrc for custom aliases i.e. “export ENV=/.kshrc” is in everyone’s
…profile. At the end of /.kshrc is:
if [ “$HOME” = “/” ]; then
FILE=.mykshrc
else
FILE=/.mykshrc
fi
if [ -f $HOME$FILE ]; then
. $HOME$FILE
fi
There is also a global /etc/profile but I not sure if Photon will pick up
alias defined therein. When you say Photon do you mean pterm? If so try
adjusting pterm so that it is always launched with the -l option. This will
ensure the shell profiles get executed.