From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8901 invoked by alias); 5 Dec 2009 06:05:57 -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: 27457 Received: (qmail 24787 invoked from network); 5 Dec 2009 06:05:55 -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.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.5 Received-SPF: none (ns2.melb.primenet.com.au: domain at exherbo.org does not designate permitted sender hosts) From: Ingmar Vanhassel To: Zsh hackers list Cc: Ingmar Vanhassel Subject: [PATCH 2/2] Add nice, ionice & hilite as pre-commands Date: Sat, 5 Dec 2009 07:05:45 +0100 Message-Id: <1259993145-24502-1-git-send-email-ingmar@exherbo.org> X-Mailer: git-send-email 1.6.6.rc1.244.g34c92 --- Completion/Zsh/Command/_precommand | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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 # precommands is made local in _main_complete precommands+=($words[1]) -- 1.6.6.rc1.244.g34c92