zsh-workers
 help / color / mirror / code / Atom feed
From: Dave Yost <Dave@Yost.com>
To: Mikael Magnusson <mikachu@gmail.com>
Cc: zsh workers <zsh-workers@zsh.org>
Subject: Re: preexec problems
Date: Mon, 22 Jun 2015 20:55:53 -0700	[thread overview]
Message-ID: <E2FD25D0-84D1-4D86-887D-14401D6D6D2C@yost.com> (raw)
In-Reply-To: <CAHYJk3TXP4y7M_1mXVgSRo9BZkfN=nWvZnWpEPNcbArz5HO+sg@mail.gmail.com>

Thanks!

Now if I could get zsh to intercept stderr and output it with its own color, I would be in zheaven!

> On 2015-06-21, at 11:00 PM, Mikael Magnusson <mikachu@gmail.com> wrote:
> 
> On Mon, Jun 22, 2015 at 7:53 AM, Dave Yost <Dave@yost.com> wrote:
>> It occurred to me that using the preexec hook, I could get the command line to be in another color.
> 
> You should occur to use zle_highlight instead. For example;
>    zle_highlight=(region:underline
>                   special:bold,bg=black
>                   default:fg=39
>                  )
> 
> 
> -- 
> Mikael Magnusson


      reply	other threads:[~2015-06-23  3:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-22  5:53 Dave Yost
2015-06-22  6:00 ` Mikael Magnusson
2015-06-23  3:55   ` Dave Yost [this message]

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=E2FD25D0-84D1-4D86-887D-14401D6D6D2C@yost.com \
    --to=dave@yost.com \
    --cc=mikachu@gmail.com \
    --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).