3d522ff3a6df86a0a3b3262d933e1c6c3dac9048

Author
Marc Cornellà <marc.cornella@live.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

Remove non-working symbols and tidy up logic

Diff

 1diff --git a/themes/robbyrussell.zsh-theme b/themes/robbyrussell.zsh-theme
 2index 60be409cf7bff3655e3c39f743aca0205315141b..f9eca6a87092dc0f9e918821870341e281cf1f01 100644
 3--- a/themes/robbyrussell.zsh-theme
 4+++ b/themes/robbyrussell.zsh-theme
 5@@ -1,7 +1,7 @@
 6-local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ %s)"
 7-PROMPT='${ret_status}%{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%}%{$reset_color%}'
 8+local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )"
 9+PROMPT='${ret_status} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'
10 
11-ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}"
12-ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
13-ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%} "
14-ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%}) "
15+ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}"
16+ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
17+ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗"
18+ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"