Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: preexec problems
- X-seq: zsh-workers 35569
- From: Dave Yost <Dave@xxxxxxxx>
- To: Mikael Magnusson <mikachu@xxxxxxxxx>
- Subject: Re: preexec problems
- Date: Mon, 22 Jun 2015 20:55:53 -0700
- Cc: zsh workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:subject:mime-version:content-type:in-reply-to:date:cc :content-transfer-encoding:sendlaterdate:message-id:references:to; bh=OmhLH+4Sj37CEvRFQhLE4uF2KkCFewiHOC8AlioTYe4=; b=v8Ju8aSuNdlo4CBRsxnN0LxP3F/JklU6cQoOx0modmAaXaVDi9Agkhz47isjbUlTeu l2t9eFXukEERjOR+7VP8B/XQq5rzODb/K1ef9vloDLCYQswYyBk0Ll2t5RufQVzU2xdm wArDQEJQu1XpaWBnF0uBXNbqg9TpikRwjkIy/+eyd3GZ6tTuH1AJInaFPQ2JjYcH96iI T1CHrY5NwmCdrjtOg/l1d7KTFEBV5igLKrBn9bvYU+EVfBJzWC8c/89pEFkPrdc+bTkx 9fSdgsWMkbqS+he+hLzeUS75si7UKOp1MdraqlR8f+5oyZAVuVvDkU6ufnZ5OIDEZ76Q EfcA==
- In-reply-to: <CAHYJk3TXP4y7M_1mXVgSRo9BZkfN=nWvZnWpEPNcbArz5HO+sg@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <0C266C66-4788-4C62-BDF8-1E011884EFC1@yost.com> <CAHYJk3TXP4y7M_1mXVgSRo9BZkfN=nWvZnWpEPNcbArz5HO+sg@mail.gmail.com>
- Sender: Dave Yost <daveyostcom@xxxxxxxxx>
- Sendlaterdate: Mon, 22 Jun 2015 20:55:53 -0700
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@xxxxxxxxx> wrote:
>
> On Mon, Jun 22, 2015 at 7:53 AM, Dave Yost <Dave@xxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author