about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2002-05-23 06:23:34 +0000
committerClint Adams <clint@users.sourceforge.net>2002-05-23 06:23:34 +0000
commitc08e0636e84dbf19b061748a466c59d5061824f7 (patch)
tree2805778db254b7b6a9e9ad2bb8a96a9eada01453
parent3bd0b68bfb886ff55778bdf0cc7615a5c71806b3 (diff)
downloadzsh-c08e0636e84dbf19b061748a466c59d5061824f7.tar.gz
zsh-c08e0636e84dbf19b061748a466c59d5061824f7.tar.xz
zsh-c08e0636e84dbf19b061748a466c59d5061824f7.zip
17211: respect $CVSIGNORE.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_cvs1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0071b5ef4..41612071d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-05-23  Clint Adams  <clint@zsh.org>
+
+	* Matt Zimmerman: 17211: Completion/Unix/Command/_cvs:
+	respect $CVSIGNORE.
+
 2002-05-21  Peter Stephenson  <pws@csr.com>
 
 	* 17201: Doc/Zsh/mod_tcp.yo: add example use of ztcp.
diff --git a/Completion/Unix/Command/_cvs b/Completion/Unix/Command/_cvs
index a18044e90..765d7bdeb 100644
--- a/Completion/Unix/Command/_cvs
+++ b/Completion/Unix/Command/_cvs
@@ -965,6 +965,7 @@ _cvs_nonentried_files () {
     )
     [[ -r ~/.cvsignore ]] && omitpats=($omitpats $(<~/.cvsignore))
     [[ -r ${realdir}.cvsignore ]] && omitpats=($omitpats $(<${realdir}.cvsignore))
+    omitpats=($omitpats $CVSIGNORE)
 
     _path_files -g "*~(*/|)(${(j:|:)~omitpats})(D.)"
   }