ZSH: Make date line bold

This commit is contained in:
Tom Willemsen 2011-10-29 14:18:26 +02:00
parent cf0320fcc7
commit 5e35df6cce

2
.zshrc
View file

@ -68,7 +68,7 @@ chpwd_functions+='chpwd_update_git_vars'
chpwd_functions+='chpwd_show_todo'
# Set the prompt.
PROMPT='%{${fg[black]}%}$(line "$(date +%d-%m-%Y\ %H:%M)")%{${fg[default]}%}
PROMPT='%{${fg[black]}%}%B$(line "$(date +%d-%m-%Y\ %H:%M)")%b%{${fg[default]}%}
(%{${fg[magenta]}%}%m%{${fg[default]}%} %{${fg[cyan]}%}%B%~%b%{${fg[default]}%}) %(?.%{${fg[green]}%}O.%{${fg[red]}%}X)%{${fg[default]}%} %# '
RPROMPT='$(prompt_git_info)%{${fg[default]}%}'