Unverified Commit 6bebc254 authored by Aliaksei Maiseyeu's avatar Aliaksei Maiseyeu Committed by GitHub
Browse files

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.
parent 578b0860
...@@ -21,9 +21,9 @@ eval my_orange='$FG[214]' ...@@ -21,9 +21,9 @@ eval my_orange='$FG[214]'
# right prompt # right prompt
if type "virtualenv_prompt_info" > /dev/null if type "virtualenv_prompt_info" > /dev/null
then 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 else
RPROMPT='$my_gray%n@%m%{$reset_color%}%' RPROMPT="${RPROMPT}"'$my_gray%n@%m%{$reset_color%}%'
fi fi
# git settings # git settings
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment