From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14228 invoked from network); 1 May 1998 19:55:37 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 1 May 1998 19:55:37 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id PAA16551; Fri, 1 May 1998 15:47:07 -0400 (EDT) Resent-Date: Fri, 1 May 1998 15:47:07 -0400 (EDT) To: zsh-workers@math.gatech.edu Path: mason From: mason@primenet.com.au (Geoff Wing) Newsgroups: lists.zsh.workers Subject: Re: env variables Date: 1 May 1998 19:47:17 GMT Organization: PrimeNet Computer Consultants Message-ID: References: <199805011721.KAA21663@wank.pdi.com> Reply-To: mason@primenet.com.au NNTP-Posting-Host: coral.primenet.com.au X-Trace: coral.primenet.com.au 894052037 14156 (None) 203.24.36.33 X-Complaints-To: usenet@coral.primenet.com.au X-Newsreader: slrn (0.9.5.1 UNIX) Resent-Message-ID: <"LJMVw3.0.V24.xQYIr"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/3912 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Nik Gervae 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 Mobile : 0412 162 441 Work URL: http://www.primenet.com.au/ Ego URL: http://pobox.com/~gcw/