Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
never complete functions beginning with "_"?
- X-seq: zsh-workers 26417
- From: Greg Klanderman <gak@xxxxxxxxxxxxxx>
- To: Zsh list <zsh-workers@xxxxxxxxxx>
- Subject: never complete functions beginning with "_"?
- Date: Sat, 24 Jan 2009 17:46:02 -0500
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Reply-to: gak@xxxxxxxxxxxxxx
Hi,
Is there some way to configure completion to never complete function
names starting with "_"? The ignored-patterns style doesn't seem to
work.. this is especially a problem because I configure substring
completion as a fallback:
zstyle ':completion:*' matcher-list \
'' 'm:{a-zA-Z}={A-Za-z}' 'l:|=* r:|=* m:{a-zA-Z}={A-Za-z}'
Alternately, some way to modify that matcher-list style to never add a
leading "_" in command positions would work.
It really seems some way to hide all the zle and completion functions
in a separate namespace/package/whatever would be the ideal solution.
thanks,
Greg
Messages sorted by:
Reverse Date,
Date,
Thread,
Author