diff options
author | Dominik Ritter <dritter03@googlemail.com> | 2015-05-22 22:59:09 +0300 |
---|---|---|
committer | Dominik Ritter <dritter03@googlemail.com> | 2015-05-22 22:59:09 +0300 |
commit | 04aa036e60ef25a834855106df72c1b2649200a8 (patch) | |
tree | 2944ec06ee9daaff782cbe24c5421b971fbd6f10 | |
parent | cb8549aed94f8e3fa75f649ac70d82b7c87656b7 (diff) | |
parent | cdad420b32be18ba491a4199f60b9532757c78e7 (diff) |
Merge branch 'dritter/flexible_colors' of github.com:dritter/powerlevel9k into dritter/flexible_colors
-rw-r--r-- | README.md | 34 |
1 files changed, 34 insertions, 0 deletions
@@ -182,6 +182,40 @@ Light'](https://github.com/altercation/solarized) users. Check it out: ![](http://bhilburn.org/content/images/2015/03/solarized-light.png) +#### Further color customizations + +For every segment you can specify foreground and background color by setting them in your `~/.zshrc`: + + POWERLEVEL9K_TIME_FOREGROUND='red' + POWERLEVEL9K_TIME_BACKGROUND='blue' + +This will change the appearance of the `time` segment. Take the segment names from the Chapter `Segment Customization`. +Some of the Segments have special color variables, as they change the colors according some internal rules. These Segments are `vcs`, `rspec_stats`, `symfony2_tests`: + + POWERLEVEL9K_VCS_FOREGROUND='blue' + POWERLEVEL9K_VCS_BACKGROUND='green' + # If VCS changes are detected: + POWERLEVEL9K_VCS_MODIFIED_FOREGROUND='red' + POWERLEVEL9K_VCS_MODIFIED_BACKGROUND='cyan' + # rspec_stats for good test coverage + POWERLEVEL9K_RSPEC_STATS_GOOD_FOREGROUND='blue' + POWERLEVEL9K_RSPEC_STATS_GOOD_BACKGROUND='green' + # rspec_stats for average test coverage + POWERLEVEL9K_RSPEC_STATS_AVG_FOREGROUND='black' + POWERLEVEL9K_RSPEC_STATS_AVG_BACKGROUND='cyan' + # rspec_stats for poor test coverage + POWERLEVEL9K_RSPEC_STATS_BAD_FOREGROUND='red' + POWERLEVEL9K_RSPEC_STATS_BAD_BACKGROUND='white' + # symfony2_tests for good test coverage + POWERLEVEL9K_SYMFONY2_TESTS_GOOD_FOREGROUND='blue' + POWERLEVEL9K_SYMFONY2_TESTS_GOOD_BACKGROUND='green' + # symfony2_tests for average test coverage + POWERLEVEL9K_SYMFONY2_TESTS_AVG_FOREGROUND='black' + POWERLEVEL9K_SYMFONY2_TESTS_AVG_BACKGROUND='cyan' + # symfony2_tests for poor test coverage + POWERLEVEL9K_SYMFONY2_TESTS_BAD_FOREGROUND='red' + POWERLEVEL9K_SYMFONY2_TESTS_BAD_BACKGROUND='white' + ### Troubleshooting Here are some fixes to some common problems. |