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

Re: [PATCH 2/2] Add nice, ionice & hilite as pre-commands



On Sat, Dec 05, 2009 at 07:05:45AM +0100, Ingmar Vanhassel wrote:
> This makes "hilite foo <TAB>" complete properly. Hilite is a simple utility
> that colours stderr red. Nice, ionice are well-known I hope. :-)
> 
> diff --git a/Completion/Zsh/Command/_precommand b/Completion/Zsh/Command/_precommand
> index 12f45ca..65964ea 100644
> --- a/Completion/Zsh/Command/_precommand
> +++ b/Completion/Zsh/Command/_precommand
> @@ -1,4 +1,4 @@
> -#compdef - nohup eval time rusage noglob nocorrect exec catchsegv aoss
> +#compdef - nohup eval time rusage noglob nocorrect exec catchsegv aoss hilite nice ionice

Completion/Unix/Command/_nice:#compdef nice

Completion/Linux/Command/_ionice:#compdef ionice



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