Skip to content

Instantly share code, notes, and snippets.

@chrismealy
Created February 18, 2012 23:54
Show Gist options
  • Save chrismealy/1861354 to your computer and use it in GitHub Desktop.
Save chrismealy/1861354 to your computer and use it in GitHub Desktop.
shell colors
function colours() {
for i in {0..255} ; do
printf "\x1b[38;5;${i}mcolour${i}\n"
done
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment