From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18935 invoked by alias); 5 Dec 2009 17:33:51 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 27463 Received: (qmail 333 invoked from network); 5 Dec 2009 17:33:49 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received-SPF: none (ns1.primenet.com.au: domain at zsh.org does not designate permitted sender hosts) Date: Sat, 5 Dec 2009 17:33:45 +0000 From: Clint Adams To: Ingmar Vanhassel Cc: Zsh hackers list Subject: Re: [PATCH 2/2] Add nice, ionice & hilite as pre-commands Message-ID: <20091205173345.GA32679@scru.org> References: <1259993145-24502-1-git-send-email-ingmar@exherbo.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1259993145-24502-1-git-send-email-ingmar@exherbo.org> User-Agent: Mutt/1.5.18 (2008-05-17) On Sat, Dec 05, 2009 at 07:05:45AM +0100, Ingmar Vanhassel wrote: > This makes "hilite foo " 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