Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH 2/2] Add nice, ionice & hilite as pre-commands
- X-seq: zsh-workers 27463
- From: Clint Adams <clint@xxxxxxx>
- To: Ingmar Vanhassel <ingmar@xxxxxxxxxxx>
- Subject: Re: [PATCH 2/2] Add nice, ionice & hilite as pre-commands
- Date: Sat, 5 Dec 2009 17:33:45 +0000
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- In-reply-to: <1259993145-24502-1-git-send-email-ingmar@xxxxxxxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <1259993145-24502-1-git-send-email-ingmar@xxxxxxxxxxx>
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