cfg/bin/dump_tmux_color.sh

13 lines
201 B
Bash
Raw Normal View History

#!/bin/sh
set -euo pipefail
printf "\n "
for i in {0..255}; do
colcode="colour${i}"
printf "\x1b[38;5;${i}m%-10s " $colcode
if [ $((($i + 1) % 8)) = 0 ]; then
printf "\n "
fi
done
printf "\n"