20b8b6cc741b5c1e0284117eb131ec63b7299704

Author
Nick Russo <nicholasrusso@icloud.com>
Committer
Nick Russo <nicholasrusso@icloud.com>
Date

Message

Sets spacing to 1 when git is absent for consistency

Diff

 1diff --git a/themes/robbyrussell.zsh-theme b/themes/robbyrussell.zsh-theme
 2index 24e1e8c5228bc479bab92c8c2fe955b2f53ad845..60be409cf7bff3655e3c39f743aca0205315141b 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+PROMPT='${ret_status}%{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%}%{$reset_color%}'
 9 
10 ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}"
11 ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
12-ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%}"
13-ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
14+ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%} "
15+ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%}) "