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

PATCH: _cvs



I fixed typo in _cvs.

Also, I found a strange behaviour with `cvs history' in testing.

On 79 (or wider) column terminal:

is27e1u11% cvs history <TAB>
file
.cvsignore 
.distfiles 
ChangeLog 
ChangeLog.3.0 
Completion/
Config/
Doc/
Etc/
Functions/
INSTALL 
Makefile.in 
Misc/
README 
Src/
StartupFiles/
Util/
acconfig.h 
aclocal.m4 
aczsh.m4 
config.guess*
config.sub*
configure.in 
install-sh*
mkinstalldirs*
option
-?  -D  -T  -X  -a  -b  -c  -e  -f  -l  -m  -n  -o  -p  -r  -t  -u  -w  -x  -z

On 78 (or narrower) column terminal:

is27e1u11% cvs history <TAB>
file
.cvsignore      Doc/            README          aczsh.m4 
.distfiles      Etc/            Src/            config.guess*
ChangeLog       Functions/      StartupFiles/   config.sub*
ChangeLog.3.0   INSTALL         Util/           configure.in 
Completion/     Makefile.in     acconfig.h      install-sh*
Config/         Misc/           aclocal.m4      mkinstalldirs*
option
-?  -T  -a  -c  -f  -m  -o  -r  -u  -x
-D  -X  -b  -e  -l  -n  -p  -t  -w  -z

I suppose that the former is not intentional.

Index: Completion/User/_cvs
===================================================================
RCS file: /projects/zsh/zsh/Completion/User/_cvs,v
retrieving revision 1.1.1.8
diff -u -F^( -r1.1.1.8 _cvs
--- _cvs	1999/09/08 00:48:08	1.1.1.8
+++ _cvs	1999/09/08 14:50:59
@@ -66,11 +66,11 @@
     '-e+:access list to erase (not work with CVS):' \
     '-l-:revision to lock:' \
     '-u-:revision to unlock:' \
-    '-n+:symbolic-name[\:revision]:' \
-    '-N+:symbolic-name[\:revision]:' \
+    '-n+:symbolic-name(\:revision):' \
+    '-N+:symbolic-name(\:revision):' \
     '-m+:revision\:msg:' \
     '-o+:range to delete:' \
-    '-s+:state[\:revision]:' \
+    '-s+:state(\:revision):' \
     '-t-:descriptive text:_cvs_admin_t' \
     '-V+:version (obsolete):' \
     '-k+:keyword substitution:_cvs_k' \
@@ -179,7 +179,7 @@
   # "+lRa:"
   _arguments -s \
     -{l,R} \
-    '-a+:action:(edit unedit commit all none)'
+    '-a+:action:(edit unedit commit all none)' \
     '*:file:_cvs_files'
 }
 
-- 
Tanaka Akira



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