diff options
author | Cameron Steffen <cam.steffen94@gmail.com> | 2020-03-07 11:12:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-07 11:12:28 +0300 |
commit | 054d9a6cd4e05e9e2005f044c865a6da09af57ce (patch) | |
tree | f21f228f793f3a944ef0167d5851ab138ba9b610 | |
parent | 7306efb94ba739f714972038ad74c48d2bebfdd6 (diff) |
Improve colors preview one-liner (#554)
* Improve colors preview one-liner
* Show colored numbers next to background
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -849,7 +849,7 @@ Type `source ~/.p10k.zsh` to apply your changes to the current Zsh session. To see how different colors look in your terminal, run the following command: ```zsh -for i in {0..255}; do print -Pn "%K{$i} %k%F{$i}${(l:3::0:)i}%f " ${${(M)$((i%8)):#7}:+$'\n'}; done +for i in {0..255}; do print -Pn "%K{$i} %k%F{$i}${(l:3::0:)i}%f " ${${(M)$((i%6)):#3}:+$'\n'}; done ``` ### Why does Powerlevel10k spawn extra processes? |