Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH 2/2] Add nice, ionice & hilite as pre-commands
- X-seq: zsh-workers 27457
- From: Ingmar Vanhassel <ingmar@xxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: [PATCH 2/2] Add nice, ionice & hilite as pre-commands
- Date: Sat, 5 Dec 2009 07:05:45 +0100
- Cc: Ingmar Vanhassel <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
---
Completion/Zsh/Command/_precommand | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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
# precommands is made local in _main_complete
precommands+=($words[1])
--
1.6.6.rc1.244.g34c92
Messages sorted by:
Reverse Date,
Date,
Thread,
Author