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

Re: regarding login prompt



* 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