Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # A bash function to print out a table of
- # colors supported by your terminal.
- colortable() {
- tput setaf 0
- for i in $(seq 0 $(tput colors)); do
- tput setab $i
- printf %4d $i
- done
- echo
- tput sgr0
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement