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

Re: regarding login prompt



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 :(

--
http://arnuld.blogspot.com/



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