diff options
author | Nick Russo <nicholasrusso@icloud.com> | 2016-02-12 01:20:47 -0800 |
---|---|---|
committer | Nick Russo <nicholasrusso@icloud.com> | 2016-02-12 01:20:47 -0800 |
commit | 20b8b6cc741b5c1e0284117eb131ec63b7299704 (patch) | |
tree | f52094aa5ac599edc32ddb4a83553227914712e5 /themes/robbyrussell.zsh-theme | |
parent | fd223067c8aea38f09a68746f765ad5aade35e3e (diff) | |
download | zsh-20b8b6cc741b5c1e0284117eb131ec63b7299704.tar.gz zsh-20b8b6cc741b5c1e0284117eb131ec63b7299704.tar.bz2 zsh-20b8b6cc741b5c1e0284117eb131ec63b7299704.zip |
Sets spacing to 1 when git is absent for consistency
Diffstat (limited to 'themes/robbyrussell.zsh-theme')
-rw-r--r-- | themes/robbyrussell.zsh-theme | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/robbyrussell.zsh-theme b/themes/robbyrussell.zsh-theme index 24e1e8c52..60be409cf 100644 --- a/themes/robbyrussell.zsh-theme +++ b/themes/robbyrussell.zsh-theme @@ -1,7 +1,7 @@ local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ %s)" -PROMPT='${ret_status}%{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}' +PROMPT='${ret_status}%{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%}%{$reset_color%}' ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}" ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" -ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%}" -ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})" +ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%} " +ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%}) " |