53d6a692d14a035d03765e72c7c9425bba1b3972

Author
programmer04 <jakub.warczarek@gmail.com>
Committer
programmer04 <jakub.warczarek@gmail.com>
Date

Message

Fix showing aws prompt for theme fishy (append RPROMPT instead of overwrite)

Diff

This diff is truncated to protect this page.

 1diff --git a/plugins/aws/README.md b/plugins/aws/README.md
 2index a52024128a3c9c2bf2f45b6ae6bb3d047232e5c8..d83c3fafe2201c841c97ae7e9211d29ca7728700 100644
 3--- a/plugins/aws/README.md
 4+++ b/plugins/aws/README.md
 5@@ -24,7 +24,7 @@ plugins=(... aws)
 6 
 7 ## Plugin options
 8 
 9-* Set `SHOW_AWS_PROMPT=false` in your zshrc file if you want to prevent the plugin from modifying your RPROMPT.
10diff --git a/themes/fishy.zsh-theme b/themes/fishy.zsh-theme
11index 83bd455b576441b744b7e493c8b27fc5f970c1f0..00a60f45b15777abcff847669a602bb0c164d797 100644
12--- a/themes/fishy.zsh-theme
13+++ b/themes/fishy.zsh-theme
14@@ -14,7 +14,7 @@ PROMPT='%n@%m %{$fg[$user_color]%}$(_fishy_collapsed_wd)%{$reset_color%}%(!.#.>)
15 PROMPT2='%{$fg[red]%}\ %{$reset_color%}'
16 
17 local return_status="%{$fg_bold[red]%}%(?..%?)%{$reset_color%}"
18-RPROMPT='${return_status}$(git_prompt_info)$(git_prompt_status)%{$reset_color%}'
19+RPROMPT="${RPROMPT}"'${return_status}$(git_prompt_info)$(git_prompt_status)%{$reset_color%}'
20 
21 ZSH_THEME_GIT_PROMPT_PREFIX=" "
22 ZSH_THEME_GIT_PROMPT_SUFFIX=""