57ed0cd0e097288e1c7eb4ff4dcc53eee41ed7fb

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Merge pull request #3598 from roderickrandolph/master

Fixes incorrect prompt arrow color

Diff

 1diff --git a/themes/awesomepanda.zsh-theme b/themes/awesomepanda.zsh-theme
 2index 411b898371ade495a7924e6cd871d8f442d13b82..1c5d06b2de79c0998b8129d15b046aac7c014b9d 100644
 3--- a/themes/awesomepanda.zsh-theme
 4+++ b/themes/awesomepanda.zsh-theme
 5@@ -1,18 +1,16 @@
 6 # the svn plugin has to be activated for this to work.
 7-
 8-PROMPT='%{$fg_bold[red]%}➜ %{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%}$(svn_prompt_info)%{$reset_color%}'
 9+local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ %s)"
10+PROMPT='${ret_status}%{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%}$(svn_prompt_info)%{$reset_color%}'
11 
12 ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}"
13 ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
14 ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%})%{$fg[yellow]%} ✗ %{$reset_color%}"
15 ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%}) "
16 
17-
18-
19 ZSH_PROMPT_BASE_COLOR="%{$fg_bold[blue]%}"
20 ZSH_THEME_REPO_NAME_COLOR="%{$fg_bold[red]%}"
21 
22 ZSH_THEME_SVN_PROMPT_PREFIX="svn:("
23 ZSH_THEME_SVN_PROMPT_SUFFIX=")"
24 ZSH_THEME_SVN_PROMPT_DIRTY="%{$fg[red]%} ✘ %{$reset_color%}"
25-ZSH_THEME_SVN_PROMPT_CLEAN=" "
26+ZSH_THEME_SVN_PROMPT_CLEAN=" "