Permalink
Browse files

Add right prompt for zsh.

  • Loading branch information...
1 parent 943b3b9 commit 195302e7315b1663ae85f125775353999a611d56 @josemotanet committed May 20, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 common/zshrc
View
@@ -46,7 +46,8 @@ function git_branch() {
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
}
-PROMPT='[%~]%{$fg[yellow]%}$(git_branch)%{$reset_color%}$(git_status) $ '
+RPROMPT='%~%{$fg[yellow]%}$(git_branch)%{$reset_color%}$(git_status)'
+PROMPT="%{$fg[magenta]%}♦ %{$reset_color%}"
TERM="xterm-256color"
# TMUX

0 comments on commit 195302e

Please sign in to comment.