Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: pruning path array.
- X-seq: zsh-users 6777
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: pruning path array.
- Date: Fri, 14 Nov 2003 17:24:06 +0000
- In-reply-to: <20031114171840.GA21349@xxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20031114171840.GA21349@xxxxxxxxxxxxxxxx>
On Nov 14, 12:18pm, Anthony R Iano-Fletcher wrote:
}
} How do I delete elements of an array (say path) that do not exist as
} directories?
path=( ${^path}(N/) )
Or, if you want symlinks to directories to be kept,
path=( ${^path}(N-/) )
Messages sorted by:
Reverse Date,
Date,
Thread,
Author