From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16474 invoked from network); 19 Nov 1997 16:07:12 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 19 Nov 1997 16:07:12 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id KAA23558; Wed, 19 Nov 1997 10:38:03 -0500 (EST) Resent-Date: Wed, 19 Nov 1997 10:37:24 -0500 (EST) Message-ID: <19971119103756.34168@astaroth.nit.gwu.edu> Date: Wed, 19 Nov 1997 10:37:56 -0500 From: Sweth Chandramouli To: zsh-users@math.gatech.edu Subject: path/PATH function Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88e Resent-Message-ID: <"zKuhA2.0.Pl5.pUmSq"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1144 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu i long time ago, i wrote a quick function to take a list of space-delimited dirs, check to see if each one was currently in my path, and if not, add it. i was just trying to make some changes to it, when i noticed in my .zshrc (modified from one that i got from someone else) a line saying cdpath=(. .. ~) i hadn't declared $CDPATH anywhere in my .z* files, but echoing $CDPATH after login returned .:..:/home/sweth/sweth i'm assuming that this is some sort of zsh path-addition option, along the lines of what i had created; i couldn't find any reference to it in the FAQ, however, other than a note in the wish-list for users to "be able to create their own foopath/FOOPATH array/path combinations." does anyone know anything more about this feature?