Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Add CORRECT_NOCOMPSYS option
- X-seq: zsh-workers 26808
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: PATCH: Add CORRECT_NOCOMPSYS option
- Date: Sun, 05 Apr 2009 15:11:15 -0700
- In-reply-to: <20090405191304.1908fca8@pws-pc>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <1238890030-4683-1-git-send-email-ft@xxxxxxxxxxxxxxxxxxx> <090404193718.ZM19801@xxxxxxxxxxxxxxxxxxxxxx> <20090405191304.1908fca8@pws-pc>
On Apr 5, 7:13pm, Peter Stephenson wrote:
}
} Right, here's a more general solution. Shout if I've missed something.
Looks reasonable to me. Should it be made clearer that this does not
apply to the CORRECT_ALL option?
I was just looking at adding something to _setup to copy the value of
CORRECT_IGNORE into the ignored-patterns style, but that suffers from
the same bootstrapping issues as MENUSELECT and ZLS_COLORS. So maybe
it would just be better to document it somewhere.
Or perhaps it would be good enough simply to set it if it is not set:
if ! zstyle -m ':completion:*:-command-:*' ignored-patterns '*'
then
zstyle ':completion:*:-command-:*' ignored-patterns '_*'
fi
Messages sorted by:
Reverse Date,
Date,
Thread,
Author