dotfiles/bin/print_colors

8 lines
143 B
Plaintext
Raw Normal View History

2020-11-19 09:27:51 +00:00
#!/bin/fish
set x (tput op)
set y (printf '%76s')
for i in (seq 256)
printf "%3s %s%s%s%s\n" $i (tput setaf $i) (tput setab $i) $y $x
end