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

Re: Should (t)path = array-unique-special work this way



On Fri, 05 Feb 2016 18:34:06 +0100
Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx> wrote:
> That was my question. The path has *-unique in type, this could be
> viewed as a guard that no repetition is possible, but the guard is
> avoided by assigning to PATH. That's from one point of view
> unexpected.

It wasn't your question, but you can of course make PATH unique too, and
I suppose an additional lesson is that for least surprises you might
want always to do

typeset -U path PATH

pws



Messages sorted by: Reverse Date, Date, Thread, Author