Question re. export environment variable
David Bath
davidbath@newsguy.com
Thu Feb 20 19:04:00 GMT 2003
> Date: Thu, 20 Feb 2003 12:38:43 -0500
> From: Shing-Fat Fred Ma <fma@doe.carleton.ca>
> To: Bob McGowan <rmcgowan@veritas.com>
> CC: cygwin@cygwin.com
> Subject: Re: Question re. export environment variable
>
> Thanks, Bob. That's the way I expected it to work.
> I was just unsure of whether there was something
> cygwin-specific, as it seems strange that something
> like HOSTNAME is not marked for export at the time
> that it is set. I'll stick it into ~/.bashrc.
>
> Fred
I've always used the "set -a" shell builtin command in my .bashrc or
.kshrc files which then exports all environment variables to all spawned
bshells.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list