Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#345583: zsh: file completion for "last" command is buggy
- X-seq: zsh-workers 22113
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Bug#345583: zsh: file completion for "last" command is buggy
- Date: Sun, 1 Jan 2006 20:51:48 -0500
- Cc: Vincent Lefevre <vincent@xxxxxxxxxx>, 345583@xxxxxxxxxxxxxxx
- In-reply-to: <20060102001439.GA1775@xxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh-workers@xxxxxxxxxx, Vincent Lefevre <vincent@xxxxxxxxxx>, 345583@xxxxxxxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20060102001439.GA1775@xxxxxxxxxxxxxxxx>
> When I do "last -f ", then file completion works as expected. But it
> no longer works if another option is used, such as in "last -af " or
> "last -axf ".
Index: Completion/Unix/Command/_last
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_last,v
retrieving revision 1.2
diff -u -r1.2 _last
--- Completion/Unix/Command/_last 8 Jun 2005 12:45:35 -0000 1.2
+++ Completion/Unix/Command/_last 2 Jan 2006 01:50:30 -0000
@@ -1,6 +1,6 @@
#compdef last lastb
-_arguments \
+_arguments -s \
'-a[display hostname in last column]' \
'-n[number]:number' \
'-[number]:number' \
Messages sorted by:
Reverse Date,
Date,
Thread,
Author