zsh-workers
 help / color / mirror / code / Atom feed
From: mason@primenet.com.au (Geoff Wing)
To: zsh-workers@math.gatech.edu
Subject: Re: env variables
Date: 1 May 1998 19:47:17 GMT	[thread overview]
Message-ID: <slrn6kk9m5.dqb.mason@coral.primenet.com.au> (raw)
In-Reply-To: <199805011721.KAA21663@wank.pdi.com>

Nik Gervae <Nik@pdi.com> typed:
:> More information please.
:Here's some from me.
:> In zsh, does
:> % export | egrep "(CVSROOT|MANPATH|CLASSPATH)"
:> list all three?
:My problem is with cdpath (lowercase). I have modified my rc files to
:do this:
:    export cdpath=(. /usr/pic5 /usr/tmp)
:    export CDPATH=${(j/:/)cdpath}
:...so that both case-versions of the variable are defined. I noted that
:when I set only cdpath, CDPATH wasn't automatically getting defined
:as the documentation says it should. Hmm.
:Anyway, cdpath still doesn't show up in my environment. This small
:program gets NULL for "cdpath" but retrieves "CDPATH" just fine:
:This is all in version 3.0.5.

Arrays aren't exported, because there's no standard or de facto method of
exporting arrays, so nothing would understands them.  Only strings are
exported.  From your example, CDPATH is a string, cdpath is an array.
-- 
Geoff Wing   <gcw@pobox.com>            Mobile : 0412 162 441
Work URL: http://www.primenet.com.au/   Ego URL: http://pobox.com/~gcw/


  reply	other threads:[~1998-05-01 19:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-30 20:56 Timothy Doyle
1998-04-30 23:01 ` Nik Gervae
1998-05-01  5:22 ` Geoff Wing
1998-05-01 17:21   ` Nik Gervae
1998-05-01 19:47     ` Geoff Wing [this message]
1998-05-01 20:44       ` Nik Gervae
1998-05-04  3:39         ` Geoff Wing
1998-05-04 10:41           ` Bart Schaefer
1998-05-04 17:01           ` Nik Gervae
     [not found]       ` <74885733@toto.iv>
1998-05-05  0:52         ` Nik Gervae

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=slrn6kk9m5.dqb.mason@coral.primenet.com.au \
    --to=mason@primenet.com.au \
    --cc=zsh-workers@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).