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

Re: PATCH: Re: CVS completer (Re: PATCH: Re: Completion/User functions again)



In article <rsqzp0idwjv.fsf@xxxxxxxxxxxxxxxxx>,
  Tanaka Akira <akr@xxxxxxxxxxx> writes:

> My latest version of _cvs is follows:

I found a problem of return status of _cvstargets, etc.

Index: Completion/User/_cvs
===================================================================
RCS file: /projects/zsh/zsh/Completion/User/_cvs,v
retrieving revision 1.1.1.1.2.7
diff -u -F^( -r1.1.1.1.2.7 _cvs
--- _cvs	1999/07/27 11:48:15	1.1.1.1.2.7
+++ _cvs	1999/07/27 14:10:03
@@ -249,6 +249,8 @@
     _cvsdirentries
     if (( $#entries )); then
       compgen "$@" -g '('${(j:|:)entries:q}')'
+    else
+      false
     fi
   else
     _files
@@ -262,6 +264,8 @@
     _cvsentries
     if (( $#entries )); then
       compgen -g '('${(j:|:)entries:q}')'
+    else
+      false
     fi
   else
     _files
@@ -275,6 +279,8 @@
     _cvsentries_modified
     if (( $#entries )); then
       compgen -g '('${(j:|:)entries:q}')'
+    else
+      false
     fi
   else
     _files 

-- 
Tanaka Akira



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