summary refs log tree commit diff
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-06-11 07:06:34 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-06-11 07:06:34 +0000
commit422c08622c0708414026bc9e3191fb201d15e4d7 (patch)
tree801ce75eb30f475a863428301d55f40e75d59e35
parent060ac27a1720fc7c207dfda8fc6fb4377db49971 (diff)
downloadzsh-422c08622c0708414026bc9e3191fb201d15e4d7.tar.gz
zsh-422c08622c0708414026bc9e3191fb201d15e4d7.tar.xz
zsh-422c08622c0708414026bc9e3191fb201d15e4d7.zip
11861: Completion/User/_cvs: fix -a use for compadd.
-rw-r--r--ChangeLog4
-rw-r--r--Completion/User/_cvs2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 64ba3617c..b32f0c8da 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-06-11  Tanaka Akira  <akr@zsh.org>
+
+	* 11861: Completion/User/_cvs: fix -a use for compadd.
+
 2000-06-10  Bart Schaefer  <schaefer@zsh.org>
 
 	* 11850: Src/Zle/complist.c: Don't try to menuselect in a listing
diff --git a/Completion/User/_cvs b/Completion/User/_cvs
index 476f2d755..8e0a4fbb4 100644
--- a/Completion/User/_cvs
+++ b/Completion/User/_cvs
@@ -813,7 +813,7 @@ _cvs_nonexisting_entries () {
       ${${${${(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
   }
 }