about summary refs log tree commit diff
path: root/zshrc
diff options
context:
space:
mode:
authorVincent Ambo <vincent@spotify.com>2013-03-13T12·34+0100
committerVincent Ambo <vincent@spotify.com>2013-03-13T12·34+0100
commit2225a11289dcff0bf2e45988ae9e21f6224976ed (patch)
tree397ddc39a89d9587d932876901839fe5ec2a1f81 /zshrc
parentbb3c6afb7f7274ec80a259a44a8abaa71df412ff (diff)
* updated zshrc
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc9
1 files changed, 6 insertions, 3 deletions
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"