Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: export

If by "fake it" you mean cooperative processes that implement a protocol
for exchanging environment variables then, yes, you can achieve the result
desired by Ray. However I think that everyone trying to achieve this result
wants to do so without having to implement a new data exchange protocol in
every program. If they were willing to implement a private data exchange
protocol they wouldn't be asking this question. :-)

On Tue, Nov 25, 2014 at 8:32 PM, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>

> On Nov 25,  4:57pm, Ray Andrews wrote:
> } Subject: export
> }
> } When I export a variable it is only available in subsequent shells in
> } the same xterm. Can I make it export globally?
> As others have explained, this is part of the design of the unix process
> model.  With a shell, however, you can fake it:
> http://unix.stackexchange.com/questions/137077/serialize-shell-variable-in-bash-or-zsh

Kurtis Rader
Caretaker of the exceptional canines Junior and Hank

Messages sorted by: Reverse Date, Date, Thread, Author