From: Ingmar Vanhassel <ingmar@exherbo.org>
To: Zsh hackers list <zsh-workers@zsh.org>
Cc: Ingmar Vanhassel <ingmar@exherbo.org>
Subject: [PATCH 2/2] Add nice, ionice & hilite as pre-commands
Date: Sat, 5 Dec 2009 07:05:45 +0100 [thread overview]
Message-ID: <1259993145-24502-1-git-send-email-ingmar@exherbo.org> (raw)
---
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
next reply other threads:[~2009-12-05 6:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-05 6:05 Ingmar Vanhassel [this message]
2009-12-05 17:33 ` Clint Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1259993145-24502-1-git-send-email-ingmar@exherbo.org \
--to=ingmar@exherbo.org \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).