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

Re: can zsh set background color?



* Timothy Luoma <lists@xxxxxxxxxxxx> [Jan 04. 2005 16:18]:
> 
> I don't suspect this is possible, but I thought I'd ask.
> 
> Is there any way for zsh to set the background color of my terminal 
> program?
> 
> I'm often logged into to 3 different computers (ssh), and it would be 
> handy to be able to quickly look for the color of one to know that it 
> was the one where I was connected to X

I've the following .termcolors file which I source in .zshrc. It makes
it easy to do such. Be careful to get the escape codes right.

http://mmj.dk/conffiles/termcolors

-- 
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
 and totally illogical, with just a little bit more effort?"
                                -- A. P. J.



Messages sorted by: Reverse Date, Date, Thread, Author