diff --git a/themes/josh.zsh-theme b/themes/josh.zsh-theme index e8ae18dda..ead1fadfa 100644 --- a/themes/josh.zsh-theme +++ b/themes/josh.zsh-theme @@ -10,6 +10,7 @@ function josh_prompt { prompt=" " branch=$(git_current_branch) + branch="${branch//\%/%%}" ruby_version=$(ruby_prompt_info) path_size=${#PWD} branch_size=${#branch} @@ -31,7 +32,7 @@ function josh_prompt { prompt=" $prompt" done - prompt="%{%F{green}%}$PWD$prompt%{%F{red}%}$(ruby_prompt_info)%{$reset_color%} ${branch//\%/%%}" + prompt="%{%F{green}%}$PWD$prompt%{%F{red}%}$(ruby_prompt_info)%{$reset_color%} ${branch}" echo $prompt }