* [PATCH 2/2] Add nice, ionice & hilite as pre-commands
@ 2009-12-05 6:05 Ingmar Vanhassel
2009-12-05 17:33 ` Clint Adams
0 siblings, 1 reply; 2+ messages in thread
From: Ingmar Vanhassel @ 2009-12-05 6:05 UTC (permalink / raw)
To: Zsh hackers list; +Cc: Ingmar Vanhassel
---
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 2/2] Add nice, ionice & hilite as pre-commands
2009-12-05 6:05 [PATCH 2/2] Add nice, ionice & hilite as pre-commands Ingmar Vanhassel
@ 2009-12-05 17:33 ` Clint Adams
0 siblings, 0 replies; 2+ messages in thread
From: Clint Adams @ 2009-12-05 17:33 UTC (permalink / raw)
To: Ingmar Vanhassel; +Cc: Zsh hackers list
On Sat, Dec 05, 2009 at 07:05:45AM +0100, Ingmar Vanhassel wrote:
> 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
Completion/Unix/Command/_nice:#compdef nice
Completion/Linux/Command/_ionice:#compdef ionice
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-05 17:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-05 6:05 [PATCH 2/2] Add nice, ionice & hilite as pre-commands Ingmar Vanhassel
2009-12-05 17:33 ` Clint Adams
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).