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

Re: PATCH: Re: _arguments questions



>>> "Sven" == Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx> writes:

[...]

 Sven> This does that: if the action starts with `= '
[...]
 Sven> Is the syntax weird enough?

Yes :=)  Thanks.

(seeing this last line I thougt that `=)' may have been funnier,
since it would have looked `...:=)...' and there already 
exists `...:->...')

[...]

This is an use of `= ' :

Index: Completion/User/_prcs
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/User/_prcs,v
retrieving revision 1.1.1.6
diff -u -r1.1.1.6 _prcs
--- Completion/User/_prcs	2000/03/11 00:08:12	1.1.1.6
+++ Completion/User/_prcs	2000/04/05 12:51:14
@@ -136,7 +136,7 @@
       '(--new)-N[compare new files against empty files]' \
       "(-P)--exclude-project-file[don't diff the project file]" \
       "(--exclude-project-file)-P[don't diff the project file]" \
-      '--[introduce diff options]:*::diff options: _diff_options ${PRCS_DIFF_COMMAND:-diff}' \
+      '--[introduce diff options]:*::diff options:=  _diff_options ${PRCS_DIFF_COMMAND:-diff}' \
       ':project name:_prcs_projects' \
       '*:file or directory:_files'
     ;;


-- 
Alexandre Duret-Lutz



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