From: Mikael Magnusson <mikachu@gmail.com>
To: Dave Yost <Dave@yost.com>
Cc: zsh workers <zsh-workers@zsh.org>
Subject: Re: preexec problems
Date: Mon, 22 Jun 2015 08:00:34 +0200 [thread overview]
Message-ID: <CAHYJk3TXP4y7M_1mXVgSRo9BZkfN=nWvZnWpEPNcbArz5HO+sg@mail.gmail.com> (raw)
In-Reply-To: <0C266C66-4788-4C62-BDF8-1E011884EFC1@yost.com>
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
next prev parent reply other threads:[~2015-06-22 6:00 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 [this message]
2015-06-23 3:55 ` Dave Yost
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='CAHYJk3TXP4y7M_1mXVgSRo9BZkfN=nWvZnWpEPNcbArz5HO+sg@mail.gmail.com' \
--to=mikachu@gmail.com \
--cc=Dave@yost.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).