zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: Re: Module completion problem
@ 2000-05-18  7:14 Sven Wischnowsky
  0 siblings, 0 replies; only message in thread
From: Sven Wischnowsky @ 2000-05-18  7:14 UTC (permalink / raw)
  To: zsh-workers


Peter Stephenson wrote:

> Completing after zmodload currently gives me the message
> 
> _path_files:305: unknown file attribute
> 
> I don't know why, since the line in question is trying to expand
> 
>   ./Zsh/*.s[ol](:r)
> 
> which looks quite reasonable to me.  Or should the (:r) already have been
> removed in this case?

It had `...(\:r)' because _files didn't replace `\:' by `:'. I'm
pretty sure I tested this, has it changed lately? Or did I commit a
non-final version?

Bye
 Sven

Index: Completion/Core/_files
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Core/_files,v
retrieving revision 1.11
diff -u -r1.11 _files
--- Completion/Core/_files	2000/05/11 09:12:57	1.11
+++ Completion/Core/_files	2000/05/18 07:12:56
@@ -53,7 +53,7 @@
   for sdef in "$def[@]"; do
 
     tag="${${sdef#*[^\\]:}%%:*}"
-    pat="${${${sdef%%:${tag}*}//\\\\:/:}//,/ }"
+    pat="${${${sdef%%:${tag}*}//\\:/:}//,/ }"
 
     if [[ "$sdef" = *:${tag}:* ]]; then
       descr="${(Q)sdef#*:${tag}:}"

--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-05-18  7:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-18  7:14 PATCH: Re: Module completion problem Sven Wischnowsky

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).