From: Clint Hepner <clint.hepner@gmail.com>
To: Kurtis Rader <krader@skepticism.us>,
Bart Schaefer <schaefer@brasslantern.com>,
Zsh Users <zsh-users@zsh.org>
Subject: Re: export
Date: Wed, 26 Nov 2014 08:37:52 -0500 [thread overview]
Message-ID: <CAKjp4B6umnnKbG0DMk9kb7=AqbkyUZ3UcUaqfKcjMfGNYd5MPg@mail.gmail.com> (raw)
In-Reply-To: <20141126071825.GA3962@chaz.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1076 bytes --]
On Wed, Nov 26, 2014 at 2:18 AM, Stephane Chazelas <
stephane.chazelas@gmail.com> wrote:
> 2014-11-25 20:54:39 -0800, Kurtis Rader:
> > 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.
> [...]
>
> FYI, the "fish" shell does that.
>
> set -U universal its value
>
> and that $universal variable (here an array) becomes available
> in all the fish shells (interactive or not) by the same user on
> the machine (with all the security implications it entails).
>
>
Note that fish implements this in a manner similar to one mentioned earlier
in this thread: it uses a separate process that acts as a variable server.
When fish tries to look up a variable, and fails to find it in either the
local or global scope, it contacts the server to see if the variable exists
at the "universal" scope.
next prev parent reply other threads:[~2014-11-26 13:37 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-26 0:57 export Ray Andrews
2014-11-26 2:36 ` export Eric Cook
2014-11-26 2:58 ` export Kurtis Rader
2014-11-26 4:32 ` export Bart Schaefer
2014-11-26 4:54 ` export Kurtis Rader
2014-11-26 5:16 ` export Ray Andrews
2014-11-26 5:38 ` export Kurtis Rader
2014-11-26 5:07 ` export Ray Andrews
2014-11-26 5:43 ` export Kurtis Rader
2014-11-26 5:54 ` export Kurtis Rader
2014-11-26 17:43 ` export Ray Andrews
2014-11-26 18:26 ` export Павлов Николай Александрович
2014-11-26 18:45 ` export Ray Andrews
2014-11-26 5:50 ` export Павлов Николай Александрович
2014-11-26 6:21 ` export Kurtis Rader
[not found] ` <CABx2=D_zLTkdFsV+eT-VrwwaJQYr=1JeZF0eNqH44saPDYMD7Q__49907.9755544246$1416977797$gmane$org@mail.gmail.com>
2014-11-26 7:18 ` export Stephane Chazelas
2014-11-26 13:37 ` Clint Hepner [this message]
2014-11-26 9:27 ` export Peter Stephenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAKjp4B6umnnKbG0DMk9kb7=AqbkyUZ3UcUaqfKcjMfGNYd5MPg@mail.gmail.com' \
--to=clint.hepner@gmail.com \
--cc=krader@skepticism.us \
--cc=schaefer@brasslantern.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).