Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: Re: Patches committed



Adam Spiers wrote:

> Sven Wischnowsky (wischnow@xxxxxxxxxxxxxxxxxxxxxxx) wrote:
> > Just to let you know, I just committed Tanaka's 10890 and 10885 and
> > Adam's 10892.
> 
> Cool, thanks.
> 
> > I haven't commited Felix' 10893 or 10894:
> 
> I don't know whether this is related, but h-c-w seems to have broken:
> 
> % echo <M-/>
> _tags:58: no matches found: (|*-)argument-* (|*-)option-* values

I guess that was your weird option setting, err... that was due to
missing standard option initialisation in _h_c_w. Remember
_complete_help?

Does this help?

Bye
 Sven

Index: Completion/Commands/_bash_completions
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Commands/_bash_completions,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 _bash_completions
--- Completion/Commands/_bash_completions	1999/10/26 15:36:11	1.1.1.2
+++ Completion/Commands/_bash_completions	2000/04/26 13:10:36
@@ -25,6 +25,9 @@
 # that will not have been overridden, so you should add '~' to the
 # list of keys at the top of the for-loop.
 
+setopt localoptions nullglob rcexpandparam extendedglob
+unsetopt markdirs globsubst shwordsplit nounset ksharrays
+
 local key=$KEYS[-1]
 
 case $key in
@@ -34,7 +37,7 @@
        ;;
   '@') _main_complete _hosts
        ;;
-  '/') _files
+  '/') _main_complete _files
        ;;
   '~') _main_complete _users
        ;;
Index: Completion/Commands/_history_complete_word
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Commands/_history_complete_word,v
retrieving revision 1.2
diff -u -r1.2 _history_complete_word
--- Completion/Commands/_history_complete_word	2000/04/01 20:43:43	1.2
+++ Completion/Commands/_history_complete_word	2000/04/26 13:10:37
@@ -17,6 +17,9 @@
 #
 
 _history_complete_word () {
+  setopt localoptions nullglob rcexpandparam extendedglob
+  unsetopt markdirs globsubst shwordsplit nounset ksharrays
+
   local expl direction stop
 
   if [[ $WIDGET = *newer ]]; then

--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author