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, Christian Schneider <strcat@xxxxxxx> wrote:
> > > arnuld wrote:
> > >  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
> 
>  i tried everything but still no luck. i have logged out and then
>  logged in but i do not see any coloures. this is my .zshrc:
[...]
>  # my own :)
>  PS1="{%{$fg[red]%}%n%{$reset_color%}@%{$fg[blue]%}%m
>  %{$fg[yellow]%}%1~ %{$reset_color%}% }%# "
>  autoload -U promptinit
>  promptinit
>  autoload -U colors
>  colors

*First* "autoload -U colors ; colors", *then* use it ;)



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