diff options
author | Hanjiang Yu <42531996+de1acr0ix@users.noreply.github.com> | 2019-09-08 21:07:33 +0800 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2019-09-08 15:07:33 +0200 |
commit | c44569f06eef2a3b4a1666686e7040c33e59e49c (patch) | |
tree | 257462ba436e9de93530f9995b00920c3b0db266 /themes/robbyrussell.zsh-theme | |
parent | 9c3e3ae5e451637873ae74da1732e98f3df3784c (diff) | |
download | zsh-c44569f06eef2a3b4a1666686e7040c33e59e49c.tar.gz zsh-c44569f06eef2a3b4a1666686e7040c33e59e49c.tar.bz2 zsh-c44569f06eef2a3b4a1666686e7040c33e59e49c.zip |
robbyrussell: remove local variable (#8131)
Now it can be sourced in a function, like zplug.
Diffstat (limited to 'themes/robbyrussell.zsh-theme')
-rw-r--r-- | themes/robbyrussell.zsh-theme | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/robbyrussell.zsh-theme b/themes/robbyrussell.zsh-theme index f9eca6a87..4df8433e3 100644 --- a/themes/robbyrussell.zsh-theme +++ b/themes/robbyrussell.zsh-theme @@ -1,5 +1,5 @@ -local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )" -PROMPT='${ret_status} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)' +PROMPT="%(?:%{$fg_bold[green]%}➜:%{$fg_bold[red]%}➜)" +PROMPT+=' %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)' ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}" ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " |