add convience function for colors
This commit is contained in:
parent
461b7744cc
commit
7619944b73
1 changed files with 4 additions and 0 deletions
4
home/private_dot_config/zsh/functions/256colors
Normal file
4
home/private_dot_config/zsh/functions/256colors
Normal 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
|
Loading…
Reference in a new issue