diff --git a/Rakefile b/Rakefile
index ba6be1f..0b3d4be 100644
--- a/Rakefile
+++ b/Rakefile
@@ -24,6 +24,8 @@ task :install => [:submodule_init, :submodules] do
install_fonts if RUBY_PLATFORM.downcase.include?("darwin")
+ install_term_theme if RUBY_PLATFORM.downcase.include?("darwin")
+
success_msg("installed")
end
@@ -107,6 +109,22 @@ def install_fonts
puts
end
+def install_term_theme
+ puts "======================================================"
+ puts "Installing iTerm2 solarized theme."
+ puts "======================================================"
+ run %{ /usr/libexec/PlistBuddy -c "Add :'Custom Color Presets':'Solarized Light' dict" ~/Library/Preferences/com.googlecode.iterm2.plist }
+ run %{ /usr/libexec/PlistBuddy -c "Merge 'iTerm2/Solarized Light.itermcolors' :'Custom Color Presets':'Solarized Light'" ~/Library/Preferences/com.googlecode.iterm2.plist }
+ run %{ /usr/libexec/PlistBuddy -c "Add :'Custom Color Presets':'Solarized Dark' dict" ~/Library/Preferences/com.googlecode.iterm2.plist }
+ run %{ /usr/libexec/PlistBuddy -c "Merge 'iTerm2/Solarized Dark.itermcolors' :'Custom Color Presets':'Solarized Dark'" ~/Library/Preferences/com.googlecode.iterm2.plist }
+
+ puts "======================================================"
+ puts "To make sure your profile is using the solarized theme"
+ puts "Please check your settings under:"
+ puts "Preferences> Profiles> [your profile]> Colors> Load Preset.."
+ puts "======================================================"
+end
+
def install_prezto
puts
puts "Installing Prezto (ZSH Enhancements)..."
diff --git a/iTerm2/Solarized Dark.itermcolors b/iTerm2/Solarized Dark.itermcolors
new file mode 100644
index 0000000..ed31a4a
--- /dev/null
+++ b/iTerm2/Solarized Dark.itermcolors
@@ -0,0 +1,213 @@
+
+
+
+
+ Ansi 0 Color
+
+ Blue Component
+ 0.19370138645172119
+ Green Component
+ 0.15575926005840302
+ Red Component
+ 0.0
+
+ Ansi 1 Color
+
+ Blue Component
+ 0.14145714044570923
+ Green Component
+ 0.10840655118227005
+ Red Component
+ 0.81926977634429932
+
+ Ansi 10 Color
+
+ Blue Component
+ 0.38298487663269043
+ Green Component
+ 0.35665956139564514
+ Red Component
+ 0.27671992778778076
+
+ Ansi 11 Color
+
+ Blue Component
+ 0.43850564956665039
+ Green Component
+ 0.40717673301696777
+ Red Component
+ 0.32436618208885193
+
+ Ansi 12 Color
+
+ Blue Component
+ 0.51685798168182373
+ Green Component
+ 0.50962930917739868
+ Red Component
+ 0.44058024883270264
+
+ Ansi 13 Color
+
+ Blue Component
+ 0.72908437252044678
+ Green Component
+ 0.33896297216415405
+ Red Component
+ 0.34798634052276611
+
+ Ansi 14 Color
+
+ Blue Component
+ 0.56363654136657715
+ Green Component
+ 0.56485837697982788
+ Red Component
+ 0.50599193572998047
+
+ Ansi 15 Color
+
+ Blue Component
+ 0.86405980587005615
+ Green Component
+ 0.95794391632080078
+ Red Component
+ 0.98943418264389038
+
+ Ansi 2 Color
+
+ Blue Component
+ 0.020208755508065224
+ Green Component
+ 0.54115492105484009
+ Red Component
+ 0.44977453351020813
+
+ Ansi 3 Color
+
+ Blue Component
+ 0.023484811186790466
+ Green Component
+ 0.46751424670219421
+ Red Component
+ 0.64746475219726562
+
+ Ansi 4 Color
+
+ Blue Component
+ 0.78231418132781982
+ Green Component
+ 0.46265947818756104
+ Red Component
+ 0.12754884362220764
+
+ Ansi 5 Color
+
+ Blue Component
+ 0.43516635894775391
+ Green Component
+ 0.10802463442087173
+ Red Component
+ 0.77738940715789795
+
+ Ansi 6 Color
+
+ Blue Component
+ 0.52502274513244629
+ Green Component
+ 0.57082360982894897
+ Red Component
+ 0.14679534733295441
+
+ Ansi 7 Color
+
+ Blue Component
+ 0.79781103134155273
+ Green Component
+ 0.89001238346099854
+ Red Component
+ 0.91611063480377197
+
+ Ansi 8 Color
+
+ Blue Component
+ 0.15170273184776306
+ Green Component
+ 0.11783610284328461
+ Red Component
+ 0.0
+
+ Ansi 9 Color
+
+ Blue Component
+ 0.073530435562133789
+ Green Component
+ 0.21325300633907318
+ Red Component
+ 0.74176257848739624
+
+ Background Color
+
+ Blue Component
+ 0.15170273184776306
+ Green Component
+ 0.11783610284328461
+ Red Component
+ 0.0
+
+ Bold Color
+
+ Blue Component
+ 0.56363654136657715
+ Green Component
+ 0.56485837697982788
+ Red Component
+ 0.50599193572998047
+
+ Cursor Color
+
+ Blue Component
+ 0.51685798168182373
+ Green Component
+ 0.50962930917739868
+ Red Component
+ 0.44058024883270264
+
+ Cursor Text Color
+
+ Blue Component
+ 0.19370138645172119
+ Green Component
+ 0.15575926005840302
+ Red Component
+ 0.0
+
+ Foreground Color
+
+ Blue Component
+ 0.51685798168182373
+ Green Component
+ 0.50962930917739868
+ Red Component
+ 0.44058024883270264
+
+ Selected Text Color
+
+ Blue Component
+ 0.56363654136657715
+ Green Component
+ 0.56485837697982788
+ Red Component
+ 0.50599193572998047
+
+ Selection Color
+
+ Blue Component
+ 0.19370138645172119
+ Green Component
+ 0.15575926005840302
+ Red Component
+ 0.0
+
+
+
diff --git a/iTerm2/Solarized Light.itermcolors b/iTerm2/Solarized Light.itermcolors
new file mode 100644
index 0000000..9918963
--- /dev/null
+++ b/iTerm2/Solarized Light.itermcolors
@@ -0,0 +1,213 @@
+
+
+
+
+ Ansi 0 Color
+
+ Blue Component
+ 0.19370138645172119
+ Green Component
+ 0.15575926005840302
+ Red Component
+ 0.0
+
+ Ansi 1 Color
+
+ Blue Component
+ 0.14145712554454803
+ Green Component
+ 0.10840645432472229
+ Red Component
+ 0.81926983594894409
+
+ Ansi 10 Color
+
+ Blue Component
+ 0.38298487663269043
+ Green Component
+ 0.35665956139564514
+ Red Component
+ 0.27671992778778076
+
+ Ansi 11 Color
+
+ Blue Component
+ 0.43850564956665039
+ Green Component
+ 0.40717673301696777
+ Red Component
+ 0.32436618208885193
+
+ Ansi 12 Color
+
+ Blue Component
+ 0.51685798168182373
+ Green Component
+ 0.50962930917739868
+ Red Component
+ 0.44058024883270264
+
+ Ansi 13 Color
+
+ Blue Component
+ 0.72908437252044678
+ Green Component
+ 0.33896297216415405
+ Red Component
+ 0.34798634052276611
+
+ Ansi 14 Color
+
+ Blue Component
+ 0.56363654136657715
+ Green Component
+ 0.56485837697982788
+ Red Component
+ 0.50599193572998047
+
+ Ansi 15 Color
+
+ Blue Component
+ 0.86405980587005615
+ Green Component
+ 0.95794391632080078
+ Red Component
+ 0.98943418264389038
+
+ Ansi 2 Color
+
+ Blue Component
+ 0.020208755508065224
+ Green Component
+ 0.54115492105484009
+ Red Component
+ 0.44977453351020813
+
+ Ansi 3 Color
+
+ Blue Component
+ 0.023484811186790466
+ Green Component
+ 0.46751424670219421
+ Red Component
+ 0.64746475219726562
+
+ Ansi 4 Color
+
+ Blue Component
+ 0.78231418132781982
+ Green Component
+ 0.46265947818756104
+ Red Component
+ 0.12754884362220764
+
+ Ansi 5 Color
+
+ Blue Component
+ 0.43516635894775391
+ Green Component
+ 0.10802463442087173
+ Red Component
+ 0.77738940715789795
+
+ Ansi 6 Color
+
+ Blue Component
+ 0.52502274513244629
+ Green Component
+ 0.57082360982894897
+ Red Component
+ 0.14679534733295441
+
+ Ansi 7 Color
+
+ Blue Component
+ 0.79781103134155273
+ Green Component
+ 0.89001238346099854
+ Red Component
+ 0.91611063480377197
+
+ Ansi 8 Color
+
+ Blue Component
+ 0.15170273184776306
+ Green Component
+ 0.11783610284328461
+ Red Component
+ 0.0
+
+ Ansi 9 Color
+
+ Blue Component
+ 0.073530435562133789
+ Green Component
+ 0.21325300633907318
+ Red Component
+ 0.74176257848739624
+
+ Background Color
+
+ Blue Component
+ 0.86405980587005615
+ Green Component
+ 0.95794391632080078
+ Red Component
+ 0.98943418264389038
+
+ Bold Color
+
+ Blue Component
+ 0.38298487663269043
+ Green Component
+ 0.35665956139564514
+ Red Component
+ 0.27671992778778076
+
+ Cursor Color
+
+ Blue Component
+ 0.43850564956665039
+ Green Component
+ 0.40717673301696777
+ Red Component
+ 0.32436618208885193
+
+ Cursor Text Color
+
+ Blue Component
+ 0.79781103134155273
+ Green Component
+ 0.89001238346099854
+ Red Component
+ 0.91611063480377197
+
+ Foreground Color
+
+ Blue Component
+ 0.43850564956665039
+ Green Component
+ 0.40717673301696777
+ Red Component
+ 0.32436618208885193
+
+ Selected Text Color
+
+ Blue Component
+ 0.38298487663269043
+ Green Component
+ 0.35665956139564514
+ Red Component
+ 0.27671992778778076
+
+ Selection Color
+
+ Blue Component
+ 0.79781103134155273
+ Green Component
+ 0.89001238346099854
+ Red Component
+ 0.91611063480377197
+
+
+