dotfiles/bin/print_colors

8 lines
143 B
Fish
Executable File

#!/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