Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: regarding login prompt
- X-seq: zsh-users 11626
- From: Christian Schneider <strcat@xxxxxxx>
- To: ZSH Users <zsh-users@xxxxxxxxxx>
- Subject: Re: regarding login prompt
- Date: Fri, 13 Jul 2007 18:05:21 +0200
- In-reply-to: <ecc395cb0707130818m23d6d00fse815e1edf64f0508@xxxxxxxxxxxxxx>
- Mail-followup-to: ZSH Users <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: Born to frag.
- References: <ecc395cb0707130555n2b2a1622r2875d90727997e15@xxxxxxxxxxxxxx> <200707131301.l6DD1pFF018924@xxxxxxxxxxxxxx> <ecc395cb0707130710u3aab7dacx89965ca36e17a3c1@xxxxxxxxxxxxxx> <20070713142324.GH19988@xxxxxxxxxxxxxxx> <ecc395cb0707130818m23d6d00fse815e1edf64f0508@xxxxxxxxxxxxxx>
* arnuld <geek.arnuld@xxxxxxxxx> typed:
> > 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 :(
autoload -U colors ; colors
PS1="{%{$fg[red]%}%n%{$reset_color%}@%{$fg[blue]%}%m%{$fg[yellow]%}%1~%{$reset_color%}% }%# "
Messages sorted by:
Reverse Date,
Date,
Thread,
Author