diff --git a/.zshrc b/.zshrc index 9204a7e..a26a701 100644 --- a/.zshrc +++ b/.zshrc @@ -68,7 +68,7 @@ chpwd_functions+='chpwd_update_git_vars' chpwd_functions+='chpwd_show_todo' # 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]}%} %# ' RPROMPT='$(prompt_git_info)%{${fg[default]}%}'