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

_cvs fix.



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



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