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

Re: Bug#394577: zsh-beta: Completion of date does not work



On Sun, Oct 22, 2006 at 12:22:37AM +0200, Jörg Sommer wrote:
> Hi,
> 
> % date --ver<TAB>
> --version    -- Versionsinformation anzeigen und beenden
> % date --ver
> 
> but the text is not completed.

This improves things slightly.

Index: Completion/Unix/Command/_date
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_date,v
retrieving revision 1.4
diff -u -r1.4 _date
--- Completion/Unix/Command/_date	5 Dec 2005 14:16:09 -0000	1.4
+++ Completion/Unix/Command/_date	14 Apr 2007 19:59:14 -0000
@@ -43,6 +43,6 @@
 fi
 
 _arguments \
+  "$args[@]" \
   '-u[display or set time in UTC]' \
-  ':format or date' \
-  $args[@]
+  ':format or date'



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