Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#394577: zsh-beta: Completion of date does not work
- X-seq: zsh-workers 23275
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Bug#394577: zsh-beta: Completion of date does not work
- Date: Sat, 14 Apr 2007 16:00:15 -0400
- Cc: Jörg Sommer <joerg@xxxxxxxxxxxx>, 394577@xxxxxxxxxxxxxxx
- In-reply-to: <20061021222237.GA15881@xxxxxxxxxxxx>
- Mail-followup-to: zsh-workers@xxxxxxxxxx, Jörg Sommer <joerg@xxxxxxxxxxxx>, 394577@xxxxxxxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20061021222237.GA15881@xxxxxxxxxxxx>
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