Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: parameter substitution for exclusion by array
On Fri, 20 Apr 2012 20:20:51 +0100
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx> wrote:
> Index: Completion/Zsh/Command/_typeset
> args=(${^fpath}/*(:t))
I wonder if it would be OK to fix this to
args=(${^fpath}/*(-.:t))
or is that going to give problems with network paths? Presumably zsh
function paths should never get quite as hairy as system executable paths.
I could base it on HASH_EXECUTABLES_ONLY (except they're not hashed and
aren't executables).
> + args=${args:|funckeys}
I'll fix the embarrassing lack of parentheses here.
--
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author