Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: zstyle to control completion of functions/parameters beginning with underscore
- X-seq: zsh-workers 28838
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: gak@xxxxxxxxxxxxxx
- Subject: Re: PATCH: zstyle to control completion of functions/parameters beginning with underscore
- Date: Wed, 02 Mar 2011 02:05:08 +0100
- Cc: Zsh list <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s1024; t=1299027909; bh=iOofz3a7sH/TjOtQOobOjEP8B0Xq13H+c5zxwJAnQ/w=; h=X-Yahoo-Newman-Id:Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:cc:In-reply-to:From:References:To:Subject:Date:Message-ID; b=RjDtLwzHB0XUT9js7C1fJtleVq8EBxayNUUmJnemaLMCU/667Qjdeohf4pKRlgj021s7CQls1fF/ArQHe6xg46eyDktH1ZnlVJjEKQnf5U+n/2ZbO/ka1l5KfV/eNbxW3mvd+yLaBWHL+clKFXn3/YCp25xo8v3nkVGytZDaZmw=
- In-reply-to: <m3ei6qvalg.fsf_-_@klanderman.net>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <1238890030-4683-1-git-send-email-ft@bewatermyfriend.org> <090404193718.ZM19801@torch.brasslantern.com> <20090405191304.1908fca8@pws-pc> <090405151115.ZM13159@torch.brasslantern.com> <20090406100929.505617e2@news01> <2d460de70905270930j681da6a5kf7848d67d89f0c69@mail.gmail.com> <20090527175941.3bbe2eba@news01> <m37i02cqd9.fsf@klanderman.net> <2d460de70905280148iebfcegcb4143c33e510efd@mail.gmail.com> <m3ei6qvalg.fsf_-_@klanderman.net>
Greg Klanderman wrote:
>
> >>>>> On May 28, 2009 Richard Hartmann <richih.mailinglist@xxxxxxxxx> wrote:
> > On Wed, May 27, 2009 at 21:12, Greg Klanderman <gak@xxxxxxxxxxxxxx> wrote:
> >> But in the same vein, what I really want is a way to configure the
> >> behavior for functions, variables, etc. beginning with "_" to be like
> >> filenames beginning with ".": completion should work if I have
> >> explicitly typed the leading "_", but even substring matching should
> >> not *generate* a leading "_".
Does the ignored completer not do this for you?
I have:
zstyle ':completion::(^approximate*):*:functions' ignored-patterns '_*'
Your hide-internal style is very similar to prefix-needed. The intention
with zstyle in the past was to overload styles where reasonably possible
and rely on the contexts for disambiguation.
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author