Last active
April 1, 2023 13:54
-
-
Save brandon-wallace/8cd05e1f96864d4fd2cbc95d3be00b94 to your computer and use it in GitHub Desktop.
Display Terminal Colors Available For Tmux Configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for num in {0..255}; do | |
printf "%s\033[38;5;${num}mcolour${num}\033[0m \t"; | |
if [ $(expr $((num+1)) % 8) -eq 0 ]; then | |
printf "\n" | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment