Skip to content

Instantly share code, notes, and snippets.

@MarcHeiden
Created June 3, 2022 20:15
Show Gist options
  • Save MarcHeiden/eab71851fbd9e6d48b0ca5346d2c5228 to your computer and use it in GitHub Desktop.
Save MarcHeiden/eab71851fbd9e6d48b0ca5346d2c5228 to your computer and use it in GitHub Desktop.

Print linux shell colors

for code in {000..255}
do
    print -P -- "$code: %F{$code}Color%f"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment