aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCameron Steffen <cam.steffen94@gmail.com>2020-03-07 11:12:28 +0300
committerGitHub <noreply@github.com>2020-03-07 11:12:28 +0300
commit054d9a6cd4e05e9e2005f044c865a6da09af57ce (patch)
treef21f228f793f3a944ef0167d5851ab138ba9b610
parent7306efb94ba739f714972038ad74c48d2bebfdd6 (diff)
Improve colors preview one-liner (#554)
* Improve colors preview one-liner * Show colored numbers next to background
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
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?