1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-18 13:41:56 +00:00

README: Cleanup

This commit is contained in:
Ben Hilburn 2015-07-26 14:43:16 -07:00
parent 0654832da4
commit 143aac50fb

View file

@ -50,7 +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)
- [Segment Colors are Wrong](#segment-colors-are-wrong)
- [Meta](#meta)
- [Kudos](#kudos)
- [Developing](#developing)
@ -276,9 +276,16 @@ to a certain length:
#### The 'time' segment
By default the time is show in 'H:M:S' format. If you want to change it,
just set another format in your `~/.zshrc`:
just set another format in your `~/.zshrc`. As an example, this is a reversed
time format:
# Output date and time with a nice symbol (awesome-terminal-font required)
# Reversed time format
POWERLEVEL9K_TIME_FORMAT='%D{%S:%M:%H}'
If you are using an "Awesome Powerline Font", you can add a time symbol to this
segment, as well:
# Output time, date, and a symbol from the "Awesome Powerline Font" set
POWERLEVEL9K_TIME_FORMAT="%D{%H:%M:%S \uE868 %d.%m.%y}"
#### Unit Test Ratios
@ -436,13 +443,12 @@ 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
#### Segment Colors are Wrong
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`:
If the color display within your terminal seems off, it's possible you are using
a reduced color set. You can check this by invoking `echotc Co` in your
terminal, which should yield `256`. If you see something different, try setting
`xterm-256color` in your `~/.zshrc`:
TERM=xterm-256color