Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: zstyle to control completion of functions/parameters beginning with underscore
>>>>> On March 10, 2011 Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> Try this ... if it works, produce a patch for the others and I'll get
> it committed:
As discussed, the others are OK as-is; here's an alternate patch for
the one problematic case.
thanks,
Greg
Index: Completion/Zsh/Type/_command_names
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Zsh/Type/_command_names,v
retrieving revision 1.10
diff -u -r1.10 _command_names
--- Completion/Zsh/Type/_command_names 8 Mar 2011 16:08:37 -0000 1.10
+++ Completion/Zsh/Type/_command_names 11 Mar 2011 16:58:12 -0000
@@ -28,7 +28,7 @@
defs=( "$defs[@]"
'builtins:builtin command:compadd -k builtins'
- "functions:shell function:compadd -k functions$ffilt"
+ "functions:shell function:compadd -k 'functions$ffilt'"
'aliases:alias:compadd -k aliases'
'suffix-aliases:suffix alias:_suffix_alias_files'
'reserved-words:reserved word:compadd -k reswords'
Messages sorted by:
Reverse Date,
Date,
Thread,
Author