better zsh prompt

This commit is contained in:
Haak Saxberg 2014-05-01 18:06:19 -07:00
parent 4be52838df
commit 7ebb790c1f

View file

@ -78,6 +78,6 @@ ZSH_THEME_GIT_PROMPT_ADDED=" %{$GREEN%}⇶%{$RESET_COLOR%}"
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$RED%}☢%{$RESET_COLOR%}" ZSH_THEME_GIT_PROMPT_DIRTY=" %{$RED%}☢%{$RESET_COLOR%}"
PROMPT=' PROMPT='
%{$fg_bold[green]%}[%n@%m] %{$fg[yellow]%}[%~] %{$fg_bold[green]%}[%n@%m] %{$fg[yellow]%}[%~]%{$reset_color%}
%{$fg[blue]%}>%{$reset_color%} ' $(in_sandbox) %{$fg[blue]%}>%{$reset_color%} '
RPROMPT='$(git_prompt_ahead)$(parse_git_dirty) $(branch_prompt)%{$reset_color%} %{$reset_color%}' RPROMPT='$(git_prompt_ahead)$(parse_git_dirty) $(branch_prompt)%{$reset_color%} %{$reset_color%}'