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

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



---
 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