Skip to content

Commit

Permalink
af-magic: fix showing aws prompt out of the box (#8243)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ToROxI committed Feb 4, 2020
1 parent 578b086 commit 6bebc25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions themes/af-magic.zsh-theme
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6bebc25

Please sign in to comment.