From 2225a11289dcff0bf2e45988ae9e21f6224976ed Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Wed, 13 Mar 2013 13:34:03 +0100 Subject: * updated zshrc --- zshrc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'zshrc') diff --git a/zshrc b/zshrc index a6cc783a3229..15846cbbe05f 100644 --- a/zshrc +++ b/zshrc @@ -23,6 +23,7 @@ setopt no_hup no_clobber print_exit_value setopt extendedglob glob_dots setopt correct setopt completealiases +setopt prompt_subst case $TERM in rxvt|*term) @@ -32,10 +33,12 @@ case $TERM in esac autoload -U colors && colors -PS1="%{%B$fg[blue]%}%n%{$reset_color%B%}@%{%b$fg[magenta]%}%1~ %{$reset_color%}%# " -### PIERRE: # PS1="%{%B$fg[green]%}%n%{$reset_color%B%}@%{$fg[blue]%}%m %{%b$fg[magenta]%}%1~ %{$reset_color%}%# " +#vincent: PS1="%{%B$fg[blue]%}%n%{$reset_color%B%}@%{%b$fg[magenta]%}%1~ %{$reset_color%}\$(vcprompt -f '%b:%r ')%# " + +#PS1="%n@%1~ \$(vcprompt -f '%b:%r ') %# " +PS1="%{$fg[green]%}%n%{$fg[cyan]%}@%{$fg[magenta]%}%1~ %{$fg[yellow]%}\$(vcprompt -f '%b:%r ')%{$fg[cyan]%}%# %{$reset_color%}" +RPS1="%{$fg[cyan]%}%B[%M:%d]%b%{$reset_color%}" -#RPS1="%M:%d" alias ls="ls -liFG" -- cgit 1.4.1