diff options
author | Dominik Ritter <dritter03@googlemail.com> | 2015-07-25 12:22:24 +0300 |
---|---|---|
committer | Dominik Ritter <dritter03@googlemail.com> | 2015-07-25 12:22:24 +0300 |
commit | e8dc33bb07780dcd5d3c8150196093b307622d25 (patch) | |
tree | 858e13caf98b57aafb8fd606742862db91cbc469 /powerlevel9k.zsh-theme | |
parent | 925e6752f7261efb031c333e6c1206093760a321 (diff) |
Added possibility to disable the RPROMPT completly.
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rw-r--r-- | powerlevel9k.zsh-theme | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index 69eee6e3..715c24f6 100644 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -644,7 +644,10 @@ $POWERLEVEL9K_MULTILINE_SECOND_PROMPT_PREFIX" RPROMPT_PREFIX='' RPROMPT_SUFFIX='' fi - RPROMPT=$RPROMPT_PREFIX"%{%f%b%k%}"'$(build_right_prompt)'"%{$reset_color%}"$RPROMPT_SUFFIX + + if [[ "$POWERLEVEL9K_DISABLE_RPROMPT" != true ]]; then + RPROMPT=$RPROMPT_PREFIX"%{%f%b%k%}"'$(build_right_prompt)'"%{$reset_color%}"$RPROMPT_SUFFIX + fi } |