summaryrefslogtreecommitdiffstats
path: root/.zshrc
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2011-11-09 19:43:34 +0100
committerGravatar Tom Willemsen2011-11-09 19:43:34 +0100
commite31350bfe891d024588bc32b6dfee27b30d68364 (patch)
tree0e19441e15474d4bccfad247174b65a9879e99c3 /.zshrc
parent2827de8b29b3d3e47069a30ee51b96760c4e1a4d (diff)
downloaddotfiles-e31350bfe891d024588bc32b6dfee27b30d68364.tar.gz
dotfiles-e31350bfe891d024588bc32b6dfee27b30d68364.zip
Show rootname above commandline
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc2
1 files changed, 1 insertions, 1 deletions
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]}%}'