about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2001-03-13 18:16:44 +0000
committerBart Schaefer <barts@users.sourceforge.net>2001-03-13 18:16:44 +0000
commit64819aedac3e85ffc15f8aacc052009820434f49 (patch)
tree138cb84a6ff8356af4e979f6026c57f6cee6f818
parent467ad8e65bb486cdae8b3332439a4d1a36addb77 (diff)
downloadzsh-64819aedac3e85ffc15f8aacc052009820434f49.tar.gz
zsh-64819aedac3e85ffc15f8aacc052009820434f49.tar.xz
zsh-64819aedac3e85ffc15f8aacc052009820434f49.zip
Add D qualifier in _rcs.
-rw-r--r--ChangeLog3
-rw-r--r--Completion/User/_rcs2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 077431d4e..8da4b0721 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2001-03-13  Bart Schaefer  <schaefer@zsh.org>
 
+	* Zvi Har'El: 13619: Completion/User/_rcs: Add the D qualifier
+	when matching file names in the RCS subdirectory.
+
 	* 13613, 13620: Completion/User/_ncftp, Completion/User/_lftp:
 	Unify completion for ncftp and lftp in _ncftp (removed _lftp).
 
diff --git a/Completion/User/_rcs b/Completion/User/_rcs
index 11cb7a59f..7ff3b8326 100644
--- a/Completion/User/_rcs
+++ b/Completion/User/_rcs
@@ -5,7 +5,7 @@ local ret=1
 if [[ -d RCS && $service != ci ]]; then
   local rep expl
 
-  rep=(RCS/*,v(:t:s/\,v//))
+  rep=(RCS/*,v(D:t:s/\,v//))
   (( $#rep )) && _wanted files expl 'RCS file' compadd -a rep && ret=0
 fi