zsh-workers
 help / color / mirror / code / Atom feed
From: Greg Klanderman <gak@klanderman.net>
To: Zsh list <zsh-workers@sunsite.dk>
Subject: never complete functions beginning with "_"?
Date: Sat, 24 Jan 2009 17:46:02 -0500	[thread overview]
Message-ID: <18811.39466.611672.982274@gargle.gargle.HOWL> (raw)


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


             reply	other threads:[~2009-01-24 22:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-24 22:46 Greg Klanderman [this message]
2009-01-25  1:16 ` Phil Pennock
2009-01-25  2:45   ` Greg Klanderman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18811.39466.611672.982274@gargle.gargle.HOWL \
    --to=gak@klanderman.net \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).