Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zle_highlight question
- X-seq: zsh-users 13599
- From: "Mikael Magnusson" <mikachu@xxxxxxxxx>
- To: zsh-users <zsh-users@xxxxxxxxxx>
- Subject: Re: zle_highlight question
- Date: Wed, 17 Dec 2008 18:21:43 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=HA0im8qZlNebK5px/6sYqQfffqC+gx00Szo0IXsod6I=; b=GzTNQ9X5tIhDdUhaYvY6AOEV3xWLh7iuefTXnXxnmDmKSo7pZ6QpFCzeu5SUzMrs15 IWg9BN2r6NtRNKvwMSX/IEvGrFAHAbOvWB+8mo/ZzupCqqY0xusYFFo68s+vw9SLP44z Qo3mnO0ZRHMrKc3paeKWM3N3cCJz8vGN1QCng=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=OM8j90drPLgl/i4taoaWwbxvIGGgU9GqsYAtfiz+xJ2DpUretYvQovP4ZeUHXAw13+ kTBHhdihY+27YJP65t4xYXLhdJmbw6Feu01Qg9xeZ0Idfc6+Lv0kVwe2LqVcy6T8dafk Emmwf4D3Ow3uLMbfpGqxfUkbsPIY/s9qkGTPc=
- In-reply-to: <2d460de70812170916g2a9ec60dna744eeeecb91254b@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <2d460de70812170916g2a9ec60dna744eeeecb91254b@xxxxxxxxxxxxxx>
2008/12/17 Richard Hartmann <richih.mailinglist@xxxxxxxxx>:
> Hi all,
>
> does anyone actually use zle_highlight? If yes, did anyone come up with
> nice defaults? I am playing around with it, but my progress so far is..
> not much ;)
I'm using this,
zle_highlight=(region:underline
special:bold
default:bg=blue
)
if [[ x$(echotc Co) = x88 ]]; then
zle_highlight+=('fg_start_code:\e[38;5;'
fg_default_code:88
'bg_start_code:\e[48;5;'
bg_default_code:88
isearch:bg=9
)
else
zle_highlight+=(isearch:standout)
fi
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author