Skip to content

Instantly share code, notes, and snippets.

@bxt
Last active October 11, 2015 04:37
Show Gist options
  • Save bxt/3803881 to your computer and use it in GitHub Desktop.
Save bxt/3803881 to your computer and use it in GitHub Desktop.
Handy script for figuring how 256 color terminal colors look like
for i in {0..255}; do echo -e "- \033[38;5;${i}m\\[\\33[38;5;${i}m\\]\033[0m -"; done;
# Prints the code needed for PS1 in the corresponding color.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment