From: Le Wang <lewang@yahoo.com>
To: Zsh users list <zsh-users@sunsite.dk>
Subject: Re: Prompt themes
Date: Tue, 4 Feb 2003 10:13:57 -0500 (EST) [thread overview]
Message-ID: <20030204151357.13256.qmail@web12306.mail.yahoo.com> (raw)
In-Reply-To: <20030204143056.GF20304@io.com>
--- John Buttery <john@io.com> wrote: > * Roman Neuhauser
<neuhauser@bellavista.cz> [2003-02-04 11:45:14 +0100]:
> > why don't you use FPATH=$HOME/.zsh/functions:$FPATH ? That would
> > save you from the same trouble in the future when it changes.
>
> I know, but I like things to be explicitly set. The chi and harmony I
> get internally from doing things that way outweighs the temporary
> discomfort of having to update it every once in a while. :)
Hi John,
It really is not a good idea to "set" the FPATH in any of your init scripts,
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 scipts
on a different machine.
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:
fpath=(${LE_ETC}/shell/zsh/autoloads/interactive
${LE_ETC}/shell/zsh/completion
$fpath)
prepends two directories to $fpath and indirectly $FPATH.
Perpend/append good; set bad.
--
Le
______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca
next prev parent reply other threads:[~2003-02-04 15:14 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-28 12:37 Arno Dark
2002-06-28 12:45 ` Borsenkow Andrej
2002-06-28 15:25 ` Arno
2002-06-28 16:13 ` Clint Adams
2002-06-28 16:21 ` Bart Schaefer
2002-06-28 21:49 ` Andy Spiegl
2002-06-29 16:59 ` Bart Schaefer
2002-06-29 0:20 ` Adam Spiers
2002-06-30 6:46 ` Cameron McBride
2003-01-23 8:57 ` John Buttery
2003-01-23 9:04 ` Borzenkov Andrey
2003-01-23 10:19 ` john
2003-01-23 10:23 ` Joakim Ryden
2003-01-23 10:40 ` Borzenkov Andrey
2003-01-23 18:02 ` Bart Schaefer
2003-01-24 21:12 ` John Buttery
2003-02-03 11:24 ` Clemens Fischer
2003-02-04 9:33 ` John Buttery
2003-02-04 10:45 ` Roman Neuhauser
2003-02-04 14:30 ` John Buttery
2003-02-04 15:13 ` Le Wang [this message]
2003-02-04 19:43 ` John Buttery
2003-02-04 19:58 ` Le Wang
2003-01-23 10:40 ` Peter Stephenson
-- strict thread matches above, loose matches on Subject: below --
2002-06-28 12:11 Arno Dark
2002-06-28 12:19 ` Borsenkow Andrej
2002-06-28 12:50 ` Roman Neuhauser
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=20030204151357.13256.qmail@web12306.mail.yahoo.com \
--to=lewang@yahoo.com \
--cc=zsh-users@sunsite.dk \
/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).