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

Re: How to clean up path most efficiently?



* It was Tue, Jun 22, 2004 at 03:46:33PM -0400 when Timothy Luoma said:
> On 6/17/04 12:34 PM, "Peter Stephenson" <pws@xxxxxxx> wrote:
[...]
> > It should be as simple as:
> > 
> > path=($^path(N))
> 
> Does that go through the current $PATH and delete all the folders that
> aren't listed in there?
> 
> Is it supposed to be lowercase?

zsh uses $PATH, and also $path. $path differs in that it is a zsh array.
At least, this is my understanding of how things work.

-- 
Sami Samhuri

Attachment: pgpavGRPz7R3R.pgp
Description: PGP signature



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