1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-22 04:10:07 +00:00

better color selection one-liners (see #554)

This commit is contained in:
romkatv 2020-03-07 09:13:55 +01:00
parent 054d9a6cd4
commit 1cd33e5445
4 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@
# #
# Tip: Looking for a nice color? Here's a one-liner to print colormap. # Tip: Looking for a nice color? Here's a one-liner to print colormap.
# #
# 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
# Temporarily change options. # Temporarily change options.
'builtin' 'local' '-a' 'p10k_config_opts' 'builtin' 'local' '-a' 'p10k_config_opts'

View file

@ -3,7 +3,7 @@
# #
# Tip: Looking for a nice color? Here's a one-liner to print colormap. # Tip: Looking for a nice color? Here's a one-liner to print colormap.
# #
# 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
# Temporarily change options. # Temporarily change options.
'builtin' 'local' '-a' 'p10k_config_opts' 'builtin' 'local' '-a' 'p10k_config_opts'

View file

@ -3,7 +3,7 @@
# #
# Tip: Looking for a nice color? Here's a one-liner to print colormap. # Tip: Looking for a nice color? Here's a one-liner to print colormap.
# #
# 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
# Temporarily change options. # Temporarily change options.
'builtin' 'local' '-a' 'p10k_config_opts' 'builtin' 'local' '-a' 'p10k_config_opts'

View file

@ -3,7 +3,7 @@
# #
# Tip: Looking for a nice color? Here's a one-liner to print colormap. # Tip: Looking for a nice color? Here's a one-liner to print colormap.
# #
# 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
# Temporarily change options. # Temporarily change options.
'builtin' 'local' '-a' 'p10k_config_opts' 'builtin' 'local' '-a' 'p10k_config_opts'