I would like to have some alias’s defined in an initialization file.
When I define them in .profile, they are available until I start
photon, (i.e. When I start a ‘pterm’ in photon, they are no longer defined.)
What am I doing wrong?
Thanks,
Ian Todd.
Don’t put them in .profile. Put them in .kshrc and export ENV=~/.kshrc in
…profile. This will make the .kshrc script get run every time a new shell
is loaded. This that only need to be run once can stay in .profile. I’ve
always had to do a little trial and error, especially when things like
photon undo some of your exports.
–
Bill Caroselli – 1(530) 510-7292
Q-TPS Consulting
QTPS@EarthLink.net
“Ian Todd” <iantodd@sympatico.ca> wrote in message
news:9qfocr$573$1@inn.qnx.com…
I would like to have some alias’s defined in an initialization file.
When I define them in .profile, they are available until I start
photon, (i.e. When I start a ‘pterm’ in photon, they are no longer
defined.)
What am I doing wrong?
Thanks,
Ian Todd.
Add the global ones to the /etc/profile file.
Previously, Ian Todd wrote in qdn.public.qnx4:
I would like to have some alias’s defined in an initialization file.
When I define them in .profile, they are available until I start
photon, (i.e. When I start a ‘pterm’ in photon, they are no longer defined.)
What am I doing wrong?
Thanks,
Ian Todd.
\