Skip to content

Instantly share code, notes, and snippets.

View zxaos's full-sized avatar

Matt Bond zxaos

View GitHub Profile
@zxaos
zxaos / tm2iterm.rb
Last active December 20, 2015 07:49 — forked from sourcebits-arjunvariar/tm2iterm.rb
Remove requirement for rubygems. Tested on ruby 2.0
#!/usr/bin/env ruby
#
# This script is an astonishing feat of top notch
# rockstar craftsmanship. It totally uses artificial
# intelligence to extract colors out of tmTheme and
# build an itermcolors scheme file for iTerm2.
#
# I know this sounds crazy, but it actually knows
# approximately what colors should be used in the
# ANSI list, and tries to find nearest colors from