Mercurial > dotfiles.old
changeset 41:1b3381f349f0
Improve zsh prompt
author | zegervdv <zegervdv@me.com> |
---|---|
date | Fri, 18 Apr 2014 11:16:02 +0200 |
parents | f79361618cac |
children | 4c3b25554bbb |
files | oh-my-zsh/themes/custom.zsh-theme |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
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%}%'