c44569f06eef2a3b4a1666686e7040c33e59e49c

Author
Hanjiang Yu <42531996+de1acr0ix@users.noreply.github.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

robbyrussell: remove local variable (#8131)

Now it can be sourced in a function, like zplug.

Diff

 1diff --git a/themes/robbyrussell.zsh-theme b/themes/robbyrussell.zsh-theme
 2index f9eca6a87092dc0f9e918821870341e281cf1f01..4df8433e3947ad3876bb2faccae9f6b5232c669b 100644
 3--- a/themes/robbyrussell.zsh-theme
 4+++ b/themes/robbyrussell.zsh-theme
 5@@ -1,5 +1,5 @@
 6-local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )"
 7-PROMPT='${ret_status} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'
 8+PROMPT="%(?:%{$fg_bold[green]%}➜:%{$fg_bold[red]%}➜)"
 9+PROMPT+=' %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'
10 
11 ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}"
12 ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "