summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2015-07-27 00:49:40 +0300
committerDominik Ritter <dritter03@googlemail.com>2015-07-27 00:49:40 +0300
commit5a6b6ef6042b9de2a3bc20c6de51c728ca210e15 (patch)
tree36d3fa9772638d594f9bce02ab1307edca1bbee3 /README.md
parent2b00d09bfbae37641cc3d93d3f055eea273ca8c0 (diff)
parent961598e66bf43bedb89bc8e60919461a38fdf98c (diff)
Merge branch 'master' into dritter/os_detection
Diffstat (limited to 'README.md')
-rw-r--r--README.md21
1 files changed, 19 insertions, 2 deletions
diff --git a/README.md b/README.md
index 662a6cc3..7e302ab1 100644
--- a/README.md
+++ b/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)
+ - [Segment Colors are Wrong](#segment-colors-are-wrong)
- [Meta](#meta)
- [Kudos](#kudos)
- [Developing](#developing)
@@ -276,10 +277,17 @@ 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:
# Reversed time format
- POWERLEVEL9K_TIME_FORMAT='%D{%S:%M:%H}'
+ 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,6 +444,15 @@ 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.,).
+#### Segment Colors are Wrong
+
+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
+
### Meta
#### Kudos