1
0
mirror of https://github.com/kremalicious/dotfiles.git synced 2024-12-01 00:18:07 +01:00
dotfiles/bin/colors.sh

15 lines
423 B
Bash
Raw Normal View History

2016-10-14 21:59:34 +02:00
#!/usr/bin/env bash
# tputcolors
echo
echo -e "$(tput bold) reg bld und tput-command-colors$(tput sgr0)"
for i in $(seq 1 256); do
2017-06-12 01:04:18 +02:00
echo " $(tput setaf "$i")Text$(tput sgr0) $(tput bold)$(tput setaf "$i")Text$(tput sgr0) $(tput sgr 0 1)$(tput setaf "$i")Text$(tput sgr0) \$(tput setaf $i)"
done
2017-06-12 01:04:18 +02:00
echo " Bold $(tput bold)"
echo " Underline $(tput sgr 0 1)"
echo " Reset $(tput sgr0)"
echo