From e31350bfe891d024588bc32b6dfee27b30d68364 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Wed, 9 Nov 2011 19:43:34 +0100 Subject: [PATCH] Show rootname above commandline --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]}%}'