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

Re: regarding login prompt



On 7/13/07, Christian Schneider <strcat@xxxxxxx> wrote:
* arnuld <geek.arnuld@xxxxxxxxx> typed:

>  # 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 ;)


yes, i just switched the things and it works..

autoload -U colors
colors
autoload -U promptinit
promptinit
PS1="{%{$fg[green]%}%n@%m %{$fg[yellow]%}%1~ %{$reset_color%}% }%# "


thanks guys :)


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



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