add convience function for colors

This commit is contained in:
Daylin Morgan 2024-05-22 12:00:04 -05:00
parent 461b7744cc
commit 7619944b73
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -0,0 +1,4 @@
#!/usr/bin/env zsh
# from powerlevel10k config file
for i in {0..255}; do print -Pn "%K{$i} %k%F{$i}${(l:3::0:)i}%f " ${${(M)$((i%6)):#3}:+$'\n'}; done