Skip to content

Instantly share code, notes, and snippets.

@Tymek
Created January 16, 2023 19:13
Show Gist options
  • Save Tymek/170c5e6f14f580c069a0d1bc71419095 to your computer and use it in GitHub Desktop.
Save Tymek/170c5e6f14f580c069a0d1bc71419095 to your computer and use it in GitHub Desktop.
ZSH - list colors for p10k (powerlevel10k)
for i in {0..255}; do print -Pn ' '%K{$i} %k%F{$i}${(l:3::0:)i}%f ' ' ${${(M)$((i%6)):#3}:+$'\n'}; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment