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

Re: Bug#563903: ionice completions could use some love



On Wed, Jan 06, 2010 at 09:39:35PM +1300, martin f krafft wrote:
> ionice -c3 <TAB> does not work as expected. Also, I guess it would
> be nice if the options could be completed too.

Which options aren't being completed?

Index: Completion/Linux/Command/_ionice
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Linux/Command/_ionice,v
retrieving revision 1.4
diff -u -r1.4 _ionice
--- Completion/Linux/Command/_ionice	3 Oct 2008 02:31:50 -0000	1.4
+++ Completion/Linux/Command/_ionice	7 Jan 2010 13:51:20 -0000
@@ -3,8 +3,8 @@
 _arguments \
   '(* -)-h[display usage information]' \
   '(*)-p[interpret args as process ID]:pid:_pids' \
-  '-c[scheduling class]:class:(( 1\:realtime 2\:best-effort 3\:idle ))' \
-  '-n[scheduling class priority]:class-priority:((
+  '-c+[scheduling class]:class:(( 1\:realtime 2\:best-effort 3\:idle ))' \
+  '-n+[scheduling class priority]:class-priority:((
     0\:high\ priority
     {6..1}\:
     7\:low\ priority



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