zsh-workers
 help / color / mirror / code / Atom feed
* never complete functions beginning with "_"?
@ 2009-01-24 22:46 Greg Klanderman
  2009-01-25  1:16 ` Phil Pennock
  0 siblings, 1 reply; 3+ messages in thread
From: Greg Klanderman @ 2009-01-24 22:46 UTC (permalink / raw)
  To: Zsh list


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-01-25  2:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-24 22:46 never complete functions beginning with "_"? Greg Klanderman
2009-01-25  1:16 ` Phil Pennock
2009-01-25  2:45   ` Greg Klanderman

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).