diff --git a/bin/dump_tmux_color.sh b/bin/dump_tmux_color.sh new file mode 100755 index 0000000..e46bd53 --- /dev/null +++ b/bin/dump_tmux_color.sh @@ -0,0 +1,12 @@ +#!/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"