Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: regarding login prompt
- X-seq: zsh-users 11625
- From: jadamson@xxxxxxxxxxxx (Joel J. Adamson)
- To: arnuld <geek.arnuld@xxxxxxxxx>
- Subject: Re: regarding login prompt
- Date: Fri, 13 Jul 2007 11:29:59 -0400
- Cc: "ZSH Users" <zsh-users@xxxxxxxxxx>
- In-reply-to: <ecc395cb0707130818m23d6d00fse815e1edf64f0508@xxxxxxxxxxxxxx> (arnuld's message of "Fri\, 13 Jul 2007 20\:48\:45 +0530")
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <ecc395cb0707130555n2b2a1622r2875d90727997e15@xxxxxxxxxxxxxx> <200707131301.l6DD1pFF018924@xxxxxxxxxxxxxx> <ecc395cb0707130710u3aab7dacx89965ca36e17a3c1@xxxxxxxxxxxxxx> <20070713142324.GH19988@xxxxxxxxxxxxxxx> <ecc395cb0707130818m23d6d00fse815e1edf64f0508@xxxxxxxxxxxxxx>
arnuld <geek.arnuld@xxxxxxxxx> writes:
>> On 7/13/07, Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx> wrote:
>
>> > arnuld <geek.arnuld@xxxxxxxxx>:
>> > hey Peter, how can i make it coloured like i have in BASH:
>> >
>> > {%n@%m %1~} -- > red colour
>> >
>> > %# --> blue colour
>
>> See <http://zshwiki.org/home/config/prompt>.
>
>
> this is from my .zshrc:
> PS1="{%{$fg[red]%}%n%{$reset_color%}@%{$fg[blue]%}%m
> %{$fg[yellow]%}%1~ %{$reset_color%}% }%# "
>
> and i changed my shell: "chsh -s /bin/zsh arnuld"
>
> but i do not see any colored prompt :(
Did you
----------------------------------------
source .zshrc
----------------------------------------
?
Try that. Also, are you using a terminal emulator? Pretty often the
terminal emulator inherits its login environment from the environment
of the Window manager you've logged in under. Source should do it,
otherwise log out entirely or start a new session.
Your blog is hilarious ;)
Joel
--
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA 02114
(617) 643-1432
(303) 880-3109
*Getting unexpected output from Word?
http://www.youtube.com/watch?v=9sZtriK9rKQ&NR=1
*Try LaTeX: it's free, easy and professional
http://www.edafe.org/latex/
http://en.wikipedia.org/wiki/LaTeX
http://nitens.org/taraborelli/latex
The information transmitted in this electronic communication is intended only for the person or entity to whom it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this information in error, please contact the Compliance HelpLine at 800-856-1983 and properly dispose of this information.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author