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

Re: Bug#345583: zsh: file completion for "last" command is buggy



> 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