Skip to content

Instantly share code, notes, and snippets.

@prehensilecode
Last active October 26, 2023 19:49
Show Gist options
  • Save prehensilecode/e7261643bf392c4fcb80b08a454b523a to your computer and use it in GitHub Desktop.
Save prehensilecode/e7261643bf392c4fcb80b08a454b523a to your computer and use it in GitHub Desktop.
Oh My Zsh tips

Oh My Zsh tips

  • To see all 256 possible colors and their IDs:
    • spectrum_ls
    • spectrum_bls
    • for i in {0..255}; do print -Pn "%K{$i} %k%F{$i}${(l:3::0:)i}%f " ${${(M)$((i%6)):#3}:+$'\n'}; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment