Skip to content

Instantly share code, notes, and snippets.

@carlosgruiz-dev
Last active July 23, 2017 19:16
Show Gist options
  • Save carlosgruiz-dev/79404cb41644d2c43072562d4ee27e65 to your computer and use it in GitHub Desktop.
Save carlosgruiz-dev/79404cb41644d2c43072562d4ee27e65 to your computer and use it in GitHub Desktop.
show terminal colors

Scripts

  • colors.sh - tmux colors pallete
#!/etc/bin/env bash
# script from: http://superuser.com/questions/285381/how-does-the-tmux-color-palette-work
# and from http://unix.stackexchange.com/questions/60968/tmux-bottom-bar-color-change
# to execute type: $ bash colors.sh
for i in {0..255}; do
printf "\x1b[38;5;${i}mcolour${i}\x1b[0m\n"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment