From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21914 invoked from network); 4 Feb 2003 19:44:24 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 4 Feb 2003 19:44:24 -0000 Received: (qmail 8182 invoked by alias); 4 Feb 2003 19:43:44 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5881 Received: (qmail 8175 invoked from network); 4 Feb 2003 19:43:44 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 4 Feb 2003 19:43:44 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [24.27.11.52] by sunsite.dk (MessageWall 1.0.8) with SMTP; 4 Feb 2003 19:43:43 -0000 Date: Tue, 4 Feb 2003 13:43:44 -0600 From: John Buttery To: Zsh users list Subject: Re: Prompt themes Message-ID: <20030204194344.GC32379@io.com> Mail-Followup-To: Zsh users list References: <20030204143056.GF20304@io.com> <20030204151357.13256.qmail@web12306.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4SFOXa2GPu3tIq4H" Content-Disposition: inline In-Reply-To: <20030204151357.13256.qmail@web12306.mail.yahoo.com> User-Agent: Mutt/1.4i X-Files: The Truth is Out There X-PGP-Keyid: 0x587F0CD702368857 X-PGP-Fingerprint: 947F E6B0 EFBA D239 0881 50A0 587F 0CD7 0236 8857 X-Message-Flag: Outlook/Eudora users: This is an email with a standards-compliant crypto signature. Blame Microsoft/Qualcomm if they mangle it. --4SFOXa2GPu3tIq4H Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Le Wang [2003-02-04 10:13:57 -0500]: > It really is not a good idea to "set" the FPATH in any of your init scrip= ts, > despite what your chi and harmony might lead you to believe. ;) Things = will > break in unpredictable ways when you upgrade or try to use your init scip= ts > on a different machine. I know, and that's the very trouble I was referring to when I said the chi and harmony justified it. :) I believe in training myself to be "debug-resilient", which means that I do things a certain way that probably causes breakage a little more often than doing it your way (which is the way most people do it, I'm sure), but leaves me more prepared to deal with problems when they do occur...if for no other reason than the familiarity. > There is a $fpath variable, which is an array that mirrors the contents of > $FPATH (e.g. when you modify one, the other will change as well). I find= it > easier to play with arrays, for example the following: >=20 > fpath=3D(${LE_ETC}/shell/zsh/autoloads/interactive > ${LE_ETC}/shell/zsh/completion > $fpath) >=20 > prepends two directories to $fpath and indirectly $FPATH. Are you saying there's a difference between playing with $fpath and $FPATH (I mean, besides the syntactic differences of dealing with them, I realize one's an array and the other's different...but a difference in the results produced after the modification)? > Perpend/append good; set bad. That depends on your definitions of good and bad. :) If it makes you feel better, I have this line right above my normal FPATH-setting line in .zshrc: #export FPATH=3D"${HOME}/.zsh/functions:${FPATH}" It's there to be uncommented at any time; part of being "debug-resilient". :) --=20 ------------------------------------------------------------------------ John Buttery (Web page temporarily unavailable) ------------------------------------------------------------------------ --4SFOXa2GPu3tIq4H Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) iD8DBQE+QBfwWH8M1wI2iFcRAuu4AJsE7bCw2XuIL43KncF8p/oUIdjoeACdEEKU uPNBIiMEotgE9tzj90RqTSo= =8ye6 -----END PGP SIGNATURE----- --4SFOXa2GPu3tIq4H--