summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2002-01-06 01:08:16 +0000
committerBart Schaefer <barts@users.sourceforge.net>2002-01-06 01:08:16 +0000
commit31634c24e7d8bdaa082a1d45560b5feae568d153 (patch)
tree188edff3887352af9d67dc2b7e1d7bde91ad25dc /Completion/Unix/Command
parent9629b2dc53be56d2db53db07b06bf29a23335600 (diff)
downloadzsh-31634c24e7d8bdaa082a1d45560b5feae568d153.tar.gz
zsh-31634c24e7d8bdaa082a1d45560b5feae568d153.tar.xz
zsh-31634c24e7d8bdaa082a1d45560b5feae568d153.zip
users/4483: with "cvs add" et al., complete names of locally removed (but
not committed) files.
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_cvs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_cvs b/Completion/Unix/Command/_cvs
index 7e6a83f28..fb2d7092e 100644
--- a/Completion/Unix/Command/_cvs
+++ b/Completion/Unix/Command/_cvs
@@ -959,7 +959,7 @@ _cvs_nonentried_files () {
   realdir=${(e)~linedir}
   [[ -f "$realdir"CVS/Entries ]] && {
     omitpats=(
-      ${${${${(M)${(f)"$(<"$realdir"CVS/Entries)"}:#(D|)/*}#(D|)/}%%/*}//(#m)[][*?()<|^~#\\]/\\$MATCH}
+      ${${${${(M)${${(f)"$(<"$realdir"CVS/Entries)"}:#/*/-*}:#(D|)/*}#(D|)/}%%/*}//(#m)[][*?()<|^~#\\]/\\$MATCH}
       $_cvs_ignore_default
       ${=cvsignore}
     )