Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Setting paths with ~'s in values.



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