Skip to content

Instantly share code, notes, and snippets.

@tobiasschulz
Forked from bxt/see256colors.sh
Created April 27, 2013 22:23
Show Gist options
  • Save tobiasschulz/5474987 to your computer and use it in GitHub Desktop.
Save tobiasschulz/5474987 to your computer and use it in GitHub Desktop.
for i in {0..87}; 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