From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21258 invoked by alias); 26 Nov 2014 04:54:55 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19435 Received: (qmail 3937 invoked from network); 26 Nov 2014 04:54:44 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=T3pfsM4jNqGCIl0cXqWu4tqwuxWieqKEYwCJieXlQ/c=; b=MLpzC7Ps1CVE6WR8OLGEXqJq93+c8/tKys0u24s7Zu/d4+7bUkev3nA6JApLpedK7X wWnNg3343Hcj+P5Vg5LGJPudOOqgfQ3EgRS8CL0QkS6nT/vOr6MZr874HxoCyCiYRLH6 3mjPQY1NzRMzVsT3N1a+LhI4IlZmlfeqBqUbdwk8azpIh6c5pEJJJxDqr2CgBWLVDPgi PL0m370rtlehvg9gFJcDC1IQMX8xE0HuAal8OdoYkNW10zdPYzeEWTK2MYhZKrFm6STq bfBQv7Jr68Ys+41v/AMUofCyREQo9rBDQJZzQFVIJilYrur92rNc/CVBJtuJPu6fTcbG CSCQ== X-Gm-Message-State: ALoCoQlwGSxwF54H1fpsBWIpn6fkPChXJEBET2cFQSybJtjbqmjnbAAxIcnamTb2VJLUDl4md4+Y MIME-Version: 1.0 X-Received: by 10.152.36.232 with SMTP id t8mr26770429laj.6.1416977679466; Tue, 25 Nov 2014 20:54:39 -0800 (PST) In-Reply-To: <141125203249.ZM18877@torch.brasslantern.com> References: <54752574.5090205@eastlink.ca> <141125203249.ZM18877@torch.brasslantern.com> Date: Tue, 25 Nov 2014 20:54:39 -0800 Message-ID: Subject: Re: export From: Kurtis Rader To: Bart Schaefer Cc: Zsh Users Content-Type: multipart/alternative; boundary=089e0160a9d23d5aa40508bbd355 --089e0160a9d23d5aa40508bbd355 Content-Type: text/plain; charset=UTF-8 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 wrote: > 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 --089e0160a9d23d5aa40508bbd355--