mirror of
https://github.com/romkatv/powerlevel10k
synced 2024-12-28 00:42:17 +00:00
Merge remote-tracking branch 'dritter/dritter/various_improvements' into staging
This commit is contained in:
commit
0654832da4
15
README.md
15
README.md
@ -50,6 +50,7 @@ this theme focus on three primary goals:
|
||||
- [Special Segment Colors](#special-segment-colors)
|
||||
- [Troubleshooting](#troubleshooting)
|
||||
- [Gaps Between Segments](#gaps-between-segments)
|
||||
- [Segments are printed in strange colors](#segments-are-printed-in-strange-colors)
|
||||
- [Meta](#meta)
|
||||
- [Kudos](#kudos)
|
||||
- [Developing](#developing)
|
||||
@ -277,8 +278,8 @@ to a certain length:
|
||||
By default the time is show in 'H:M:S' format. If you want to change it,
|
||||
just set another format in your `~/.zshrc`:
|
||||
|
||||
# Reversed time format
|
||||
POWERLEVEL9K_TIME_FORMAT='%D{%S:%M:%H}'
|
||||
# Output date and time with a nice symbol (awesome-terminal-font required)
|
||||
POWERLEVEL9K_TIME_FORMAT="%D{%H:%M:%S \uE868 %d.%m.%y}"
|
||||
|
||||
#### Unit Test Ratios
|
||||
|
||||
@ -435,6 +436,16 @@ Thankfully, this is easy to fix. This happens if you have successfully installed
|
||||
Powerline fonts, but did not make a Powerline font the default font in your
|
||||
terminal emulator (e.g., 'terminator', 'gnome-terminal', 'konsole', etc.,).
|
||||
|
||||
#### Segments are printed in strange colors
|
||||
|
||||
Besides of choosing the right color scheme for your terminal editor, you should
|
||||
be aware that your terminal is capable of displaying 256 colors. You can check
|
||||
that by invoking `echotc Co` in your terminal. It should show 256. If it shows
|
||||
less than that, you have to set a terminal that is capable of displaying 256
|
||||
colors like `xterm-256color` in your `~/.zshrc`:
|
||||
|
||||
TERM=xterm-256color
|
||||
|
||||
### Meta
|
||||
|
||||
#### Kudos
|
||||
|
@ -645,7 +645,6 @@ $POWERLEVEL9K_MULTILINE_SECOND_PROMPT_PREFIX"
|
||||
RPROMPT_SUFFIX=''
|
||||
fi
|
||||
RPROMPT=$RPROMPT_PREFIX"%{%f%b%k%}"'$(build_right_prompt)'"%{$reset_color%}"$RPROMPT_SUFFIX
|
||||
|
||||
}
|
||||
|
||||
powerlevel9k_init "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user