From 054d9a6cd4e05e9e2005f044c865a6da09af57ce Mon Sep 17 00:00:00 2001 From: Cameron Steffen Date: Sat, 7 Mar 2020 02:12:28 -0600 Subject: [PATCH] Improve colors preview one-liner (#554) * Improve colors preview one-liner * Show colored numbers next to background --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 06de3381..2d184abf 100644 --- a/README.md +++ b/README.md @@ -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?