Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How do *you* sync your zsh config files?
- X-seq: zsh-users 2307
- From: Timothy J Luoma <tjlists@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: Re: How do *you* sync your zsh config files?
- Date: Fri, 16 Apr 1999 00:45:11 -0400
- In-reply-to: <19990415202213.B18741@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <199904102357.TAA03805@ocalhost> <19990415202213.B18741@xxxxxxxxxxxxxxxxxxxxxxx>
Replying to message of Thu, 15 Apr 1999 20:22:14 +0100
from Adam Spiers <adam@xxxxxxxxxxxxxxxxxxxxxxx>
regarding ``Re: How do *you* sync your zsh config files?''
> > I'm getting to the point of dumping everything in one big .zshenv
> > (global config files are empty in most of these cases) but that's
> > not really what I'd prefer... I like having my
> > aliases/bindkeys/completions/etc all in different files, in case of
> > an editing mistake in one file it is easier to locate and fix.
>
> Why's that? zsh usually tells me a line number if I mess things up
> badly.
Unfortunately zsh can get confused, especially with missing end quotes (my
favorite error to make)... it can tell me the line number that's really far
from where the open quote goes.
I've got all my complex functions (those which span more than one 70-char
line) in separate files in a folder $ZDOTDIR/Functions/Complex/ for this
exact same thing.... any problem with one doesn't hurt the others.
It makes things much easier, especially when you do several different
changes in a row (as I seem to tend to do).
TjL
Messages sorted by:
Reverse Date,
Date,
Thread,
Author