Ray Lai <[EMAIL PROTECTED]> wrote: > > No. Something is very wrong here. Why do your interactive shell > > aliases propagate to random shells? > > I export ENV=~/.profile
You need to wrap the contents into something like
case $- in *i*)
...
;;
esac
to keep them away from non-interactive shells. Alternatively, with ksh,
you can use this scary looking construct:
export ENVFILE=~/.kshrc
export ENV='${ENVFILE[(_=1)+(_$-=0)-_${-%%*i*}]}'
--
Christian "naddy" Weisgerber [EMAIL PROTECTED]
