zsh-workers
 help / color / mirror / code / Atom feed
* _cvs fix.
@ 2000-06-11  7:04 Tanaka Akira
  0 siblings, 0 replies; only message in thread
From: Tanaka Akira @ 2000-06-11  7:04 UTC (permalink / raw)
  To: zsh-workers

Z:akr@serein% cvs commit l<TAB>
file
Completion/    StartupFiles/  Util/          files          linedir

`files' and `linedir' shouldn't completed.

Because `linedir' in _cvs_nonexisting_entries is a hidden prefix, it
should be passed as its value instead of the name.

Index: Completion/User/_cvs
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/User/_cvs,v
retrieving revision 1.9
diff -u -r1.9 _cvs
--- Completion/User/_cvs	2000/05/31 09:38:26	1.9
+++ Completion/User/_cvs	2000/06/11 06:46:46
@@ -813,7 +813,7 @@
       ${${${${(M)${(f)"$(<"$realdir"CVS/Entries)"}:#(D|)/*}#(D|)/}%%/*}:#${(j:|:)~${files//(#m)[][*?()<|^~#\\]/\\$MATCH}}}
     )
     compquote files
-    _wanted files expl file compadd -Qp -a linedir files
+    _wanted files expl file compadd -Qp "$linedir" -a files
   }
 }
 
-- 
Tanaka Akira


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

only message in thread, other threads:[~2000-06-11  7:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-11  7:04 _cvs fix Tanaka Akira

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