From: Rik Faith <faith@cs.unc.edu>
To: zsh-users@math.gatech.edu
Cc: faith@cs.unc.edu
Subject: local after setopt allexport?
Date: Tue, 6 Aug 1996 15:38:48 -0400 [thread overview]
Message-ID: <199608061938.PAA07278@proteus.cs.unc.edu> (raw)
Is there a way to keep variables from being exported after setopt
allexport?
With setopt allexport:
proteus /tmp/zsh-3.0-pre6> Src/zsh
proteus% setopt allexport
proteus% typeset +x foo=bar
proteus% typeset -x bar=foo
proteus% Src/zsh
proteus% echo $foo
bar
proteus% echo $bar
foo
Without setopt allexport:
proteus /tmp/zsh-3.0-pre6> Src/zsh
proteus% typeset +x foo=bar
proteus% typeset -x bar=foo
proteus% Src/zsh
proteus% echo $foo
proteus% echo $bar
foo
(No ~/.z* startup files exist. I couldn't find this in the info pages, the
FAQ, or the mailing list archives (to May 1995). I'm new to this list, so
if there is some documentation I should have read, please let me know.
Thanks, Rik.)
next reply other threads:[~1996-08-06 20:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-08-06 19:38 Rik Faith [this message]
1996-08-07 7:29 ` Peter Stephenson
1996-08-09 2:50 ` Rik Faith
1996-08-09 5:44 ` Bart Schaefer
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=199608061938.PAA07278@proteus.cs.unc.edu \
--to=faith@cs.unc.edu \
--cc=zsh-users@math.gatech.edu \
/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).