README: Cleanup

pull/22/head
Ben Hilburn 10 years ago
parent 0654832da4
commit 143aac50fb

@ -50,7 +50,7 @@ this theme focus on three primary goals:
- [Special Segment Colors](#special-segment-colors) - [Special Segment Colors](#special-segment-colors)
- [Troubleshooting](#troubleshooting) - [Troubleshooting](#troubleshooting)
- [Gaps Between Segments](#gaps-between-segments) - [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) - [Meta](#meta)
- [Kudos](#kudos) - [Kudos](#kudos)
- [Developing](#developing) - [Developing](#developing)
@ -276,9 +276,16 @@ to a certain length:
#### The 'time' segment #### The 'time' segment
By default the time is show in 'H:M:S' format. If you want to change it, 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}" POWERLEVEL9K_TIME_FORMAT="%D{%H:%M:%S \uE868 %d.%m.%y}"
#### Unit Test Ratios #### 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 Powerline fonts, but did not make a Powerline font the default font in your
terminal emulator (e.g., 'terminator', 'gnome-terminal', 'konsole', etc.,). 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 If the color display within your terminal seems off, it's possible you are using
be aware that your terminal is capable of displaying 256 colors. You can check a reduced color set. You can check this by invoking `echotc Co` in your
that by invoking `echotc Co` in your terminal. It should show 256. If it shows terminal, which should yield `256`. If you see something different, try setting
less than that, you have to set a terminal that is capable of displaying 256 `xterm-256color` in your `~/.zshrc`:
colors like `xterm-256color` in your `~/.zshrc`:
TERM=xterm-256color TERM=xterm-256color

Loading…
Cancel
Save