Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zle_highlight question



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