aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBen Hilburn <bhilburn@gmail.com>2015-07-27 02:30:04 +0300
committerBen Hilburn <bhilburn@gmail.com>2015-07-27 02:30:04 +0300
commit0dc7c5bf385df6690c7ba7564a774d0595aab4ee (patch)
treef52ed95d2220d79b6b785e9c86bb593c95d1c2c6 /README.md
parent0395709fa01a38da626a2b9dc3ba53535cdfdae6 (diff)
parent504a64996b3da9ada36615b51026ba7033b3a47e (diff)
Merge branch 'dritter/os_detection' into dritter-os-icon
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