1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-25 13:30:07 +00:00

Merge branch 'master' into dritter/os_detection

This commit is contained in:
Dominik Ritter 2015-07-27 09:23:30 +02:00
commit 1b7240ca2f
2 changed files with 11 additions and 1 deletions

View file

@ -45,6 +45,7 @@ this theme focus on three primary goals:
- [Symbols](#symbols) - [Symbols](#symbols)
- [Styling](#styling) - [Styling](#styling)
- [Double-Lined Prompt](#double-lined-prompt) - [Double-Lined Prompt](#double-lined-prompt)
- [Disable Right Prompt](#disable-right-prompt)
- [Light Color Theme](#light-color-theme) - [Light Color Theme](#light-color-theme)
- [Segment Color Customization](#segment-color-customization) - [Segment Color Customization](#segment-color-customization)
- [Special Segment Colors](#special-segment-colors) - [Special Segment Colors](#special-segment-colors)
@ -361,6 +362,12 @@ following variables in your `~/.zshrc`:
POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX="↱" POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX="↱"
POWERLEVEL9K_MULTILINE_SECOND_PROMPT_PREFIX="↳ " POWERLEVEL9K_MULTILINE_SECOND_PROMPT_PREFIX="↳ "
#### Disable Right Prompt
If you do not want a right prompt, you can disable it by setting:
POWERLEVEL9K_DISABLE_RPROMPT=true
#### Light Color Theme #### Light Color Theme
If you prefer to use "light" colors, simply set `POWERLEVEL9K_COLOR_SCHEME` If you prefer to use "light" colors, simply set `POWERLEVEL9K_COLOR_SCHEME`

View file

@ -682,7 +682,10 @@ $POWERLEVEL9K_MULTILINE_SECOND_PROMPT_PREFIX"
RPROMPT_PREFIX='' RPROMPT_PREFIX=''
RPROMPT_SUFFIX='' RPROMPT_SUFFIX=''
fi fi
if [[ "$POWERLEVEL9K_DISABLE_RPROMPT" != true ]]; then
RPROMPT=$RPROMPT_PREFIX"%{%f%b%k%}"'$(build_right_prompt)'"%{$reset_color%}"$RPROMPT_SUFFIX RPROMPT=$RPROMPT_PREFIX"%{%f%b%k%}"'$(build_right_prompt)'"%{$reset_color%}"$RPROMPT_SUFFIX
fi
} }
powerlevel9k_init "$@" powerlevel9k_init "$@"