Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Setting paths with ~'s in values.
- X-seq: zsh-users 2142
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: "Larry P . Schrof" <schrof@xxxxxxxxxxx>, zsh-users@xxxxxxxxxxxxxx
- Subject: Re: Setting paths with ~'s in values.
- Date: Fri, 12 Feb 1999 14:29:55 -0800
- In-reply-to: <990212140558.ZM11520@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <199902122018.PAA29284@xxxxxxxxxxxxxxxxxx> <990212140558.ZM11520@xxxxxxxxxxxxxxxxxxxxxxx>
On Feb 12, 2:05pm, Bart Schaefer wrote:
> [...] Filename generation and expansion
> is done in array assignments -- but that still doesn't expand the ~ .
> So you need an additional "eval" for that, which means you don't need
> the ~ any more.
It just occurred to me that this is a potentially confusing paragraph.
The ~ that you don't need if you have an "eval" is the one in ${~t_path}.
The ~ that expands only when you have the "eval" is the one in each line
read from .zpaths.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author