On Mon, Oct 16, 2006 at 08:52:26PM +0400, Bruno Carnazzi wrote:
|   Hi misc,
|
| I export/alias some important stuff in my ksh .profile. It works
| normally, but since I run screen or xterm, my .profile is not
| evaluated (or even if I launch a sub-shell). I know there is a
| difference between login shell and sub shell but how can I have some
| environment variables and aliases in all context, everytime ?
|
| I use OpenBSD/i386 3.9-release's pdksh.

In your .profile :

        export ENV=~/.kshrc

Now put your aliases etc. in your .kshrc. BTW, stuff you export in
.profile shoud be available to you in your subshells.

Cheers,

Paul 'WEiRD' de Weerd

--
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/

[demime 1.01d removed an attachment of type application/pgp-signature]

Reply via email to