diff options
author | Aliaksei Maiseyeu <jetfire6@gmail.com> | 2020-02-04 15:27:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-04 13:27:18 +0100 |
commit | 6bebc254e88ac9b7fdaa7491d031f82ec107e418 (patch) | |
tree | 175e39b961b58334b0fb1dfa420c15a69240317a /themes | |
parent | 578b0860112af83af25afb687887109748a03c08 (diff) | |
download | zsh-6bebc254e88ac9b7fdaa7491d031f82ec107e418.tar.gz zsh-6bebc254e88ac9b7fdaa7491d031f82ec107e418.tar.bz2 zsh-6bebc254e88ac9b7fdaa7491d031f82ec107e418.zip |
af-magic: fix showing aws prompt out of the box (#8243)
Fix issue related to #7615, #7747 and #6346
After the update, aws prompt (which should be visible out of the box) disappears when a user uses a theme af-magic, because of fact that plugins are loaded before themes.
This pull request fixes issue with not showing aws prompt in theme af-magic, by appending RPROMPT in theme af-magic instead overwriting.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/af-magic.zsh-theme | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/af-magic.zsh-theme b/themes/af-magic.zsh-theme index d185fa1ab..30e997f8c 100644 --- a/themes/af-magic.zsh-theme +++ b/themes/af-magic.zsh-theme @@ -21,9 +21,9 @@ eval my_orange='$FG[214]' # right prompt if type "virtualenv_prompt_info" > /dev/null then - RPROMPT='$FG[078]$(virtualenv_prompt_info)%{$reset_color%} $my_gray%n@%m%{$reset_color%}%' + RPROMPT="${RPROMPT}"'$FG[078]$(virtualenv_prompt_info)%{$reset_color%} $my_gray%n@%m%{$reset_color%}%' else - RPROMPT='$my_gray%n@%m%{$reset_color%}%' + RPROMPT="${RPROMPT}"'$my_gray%n@%m%{$reset_color%}%' fi # git settings |