Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: can zsh set background color?
- X-seq: zsh-users 8336
- From: lists <lists@xxxxxxxxxxxxxxxx>
- To: Timothy Luoma <lists@xxxxxxxxxxxx>
- Subject: Re: can zsh set background color?
- Date: Wed, 5 Jan 2005 19:46:38 -0600
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <DADB9AA7-5E73-11D9-B4A6-000D93AD26C8@xxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <D4174DD1-5E63-11D9-B4A6-000D93AD26C8@xxxxxxxxxxxx> <20050104152041.GP22789@xxxxxxx> <DADB9AA7-5E73-11D9-B4A6-000D93AD26C8@xxxxxxxxxxxx>
- Reply-to: zsh-users@xxxxxxxxxx
I'm personally content with a different colored prompt for remote
machines. This is taken care of in my .zshrc file with something like
this pseudo code:
case ${HOST} in
(host1) PS1=<substitute your favorite prompt here> ;;
(host2) PS1=<different colored prompt here> ;;
esac
I don't want to take the focus of this discussion off of zsh, but if
you're using OS X and Terminal, you can set up a Terminal window to
have the characteristics that you like (i.e. color of background), then
save it as a .term file which you launch only when you want to ssh to a
particular host. You can even set it so that just by launching a
particular .term file, the ssh command will be carried out for you.
Details here:
http://docs.info.apple.com/article.html?artnum=86134
http://docs.info.apple.com/article.html?artnum=152410
http://docs.info.apple.com/article.html?artnum=152408
Hope this helps.
On Jan 4, 2005, at 11:12 AM, Timothy Luoma wrote:
I am using the Terminal program in Mac OS X, not X Windows.
TjL
Messages sorted by:
Reverse Date,
Date,
Thread,
Author