diff oh-my-zsh/themes/custom.zsh-theme @ 41:1b3381f349f0

Improve zsh prompt
author zegervdv <zegervdv@me.com>
date Fri, 18 Apr 2014 11:16:02 +0200
parents 36a9b3a28861
children 642841c0badb
line wrap: on
line diff
--- a/oh-my-zsh/themes/custom.zsh-theme	Thu Apr 17 08:16:34 2014 +0200
+++ b/oh-my-zsh/themes/custom.zsh-theme	Fri Apr 18 11:16:02 2014 +0200
@@ -14,8 +14,9 @@
     git=0
 fi
 
-PROMPT=$'%{$fg[cyan]%}%m %{$fg[yellow]%}$(get_pwd)
-%{$reset_color%}→ '
+PROMPT='%{$fg[cyan]%}%M%{$reset_color%} in %{$fg[yellow]%}%~%b%{$reset_color%}
+%{$reset_color%}%(?.%{$fg[white]%}.%{$fg[red]%})→ '
+
 
 RPROMPT='$my_gray$(git_prompt_info) $(git_prompt_status)%{$reset_color%}%'