use zsh abstraction for color code

This commit is contained in:
steeef 2010-10-01 22:07:06 -07:00
commit 79aadb1fc3

View file

@ -82,5 +82,5 @@ function steeef_precmd {
add-zsh-hook precmd steeef_precmd
PROMPT=$'
%{$fg[magenta]%}%n%{$reset_color%} at %{^[[38;05;214m%}%m%{$reset_color%} in %{$fg_bold[green]%}%~%{$reset_color%} $vcs_info_msg_0_
%{$fg[magenta]%}%n%{$reset_color%} at %214F%m%{$reset_color%} in %{$fg_bold[green]%}%~%{$reset_color%} $vcs_info_msg_0_
$(virtualenv_info)$ '