Show rootname above commandline

This commit is contained in:
Tom Willemsen 2011-11-09 19:43:34 +01:00
parent 2827de8b29
commit e31350bfe8

2
.zshrc
View file

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