@@ -189,23 +189,27 @@ task :install do
189
189
# Install Vundle and bundles
190
190
Rake ::Task [ 'install:vundle' ] . invoke
191
191
192
- step 'iterm2 colorschemes'
193
- colorschemes = `defaults read com.googlecode.iterm2 'Custom Color Presets'`
194
- dark = colorschemes !~ /Solarized Dark/
195
- light = colorschemes !~ /Solarized Light/
196
- sh ( 'open' , '-a' , '/Applications/iTerm.app' , File . expand_path ( 'iterm2-colors-solarized/Solarized Dark.itermcolors' ) ) if dark
197
- sh ( 'open' , '-a' , '/Applications/iTerm.app' , File . expand_path ( 'iterm2-colors-solarized/Solarized Light.itermcolors' ) ) if light
198
-
199
192
step 'iterm2 profiles'
200
193
puts
201
194
puts " All done! That was easy!"
202
195
puts
203
- puts " Now, for your iTerm colors, you can manually set up Solarized Light and Dark profiles."
196
+ puts " Now, for your iTerm colors, you can manually set up your base16 color profiles."
204
197
puts " You can do this in 'Preferences' -> 'Profiles' by adding a new profile,"
205
- puts " then clicking the 'Colors' tab, 'Load Presets...' and choosing a Solarized option."
206
- puts " Also be sure to set Terminal Type to 'xterm-256color' in the 'Terminal' tab."
198
+ puts " then clicking the 'Colors' tab, 'Load Presets...' and importing all the colors in the iterm-colors folder."
199
+ puts
200
+ puts " Then, set Terminal Type to 'xterm-256color' in the 'Terminal' tab."
201
+ puts " Then, clone the repository for base16-shell:"
202
+ puts " $ git clone https://github.com/chriskempson/base16-shell.git ~/.config/base16-shell"
203
+ puts
204
+ puts " Once that's done, add these lines to your ~/.bashrc, ~/.bash_profile, or ~/.zshrc:"
205
+ puts ' BASE16_SHELL=$HOME/.config/base16-shell/'
206
+ puts ' [ -n "$PS1" ] && [ -s $BASE16_SHELL/profile_helper.sh ] && eval "$($BASE16_SHELL/profile_helper.sh)"'
207
+ puts
208
+ puts " And then, open a new shell and type:"
209
+ puts " $ base16_default-dark"
210
+ puts " (there are other commands available, try typing base16 and hit tab to see the options)"
207
211
puts
208
- puts " Have fun with your new and improved vim!"
212
+ puts " And you're done! Have fun with your new and improved vim!"
209
213
puts
210
214
end
211
215
0 commit comments