The rake script now detects the available iTerm2 profiles and
installs the solarized scheme where needed.
It's an interactive procedure that requires selection by the user.
After indenting/unindenting the selected lines of code, vim
deselects forcing the user to reapply the selection in order to
indent multiple times.
This remap fixes the problem.
Instead of asking the user to clone the repo and running rake
install, there's is now an easy .sh script that can be downloaded
and invoked in a single line.
The script takes a parameter "ask" if the use prefers to control
which modules of yadr are installed.
rake install/update was executing git clean with the -x flag that
force the removal of ignored files. Since .vim.after was listed
inside .gitignore, this was causing the file to be removed on
each update.
I don't think we need to remove ignored files since are all
temporary or user-specific configuration files that should
persist between updates.
Fixes#225
When rake install/update is run for the second time, any .backup
file created by the first run it's going to be overwritten by
the new symlink even if the current file is the same as the one
we are going to write.
The rakefile now checks if the symlink we are going to create
points to the same target as the one already there and if that's
the case, doesn't overwrite any backup.
The prezto install procedure now checks to make sure the user
doesn't have an alternative version of zsh installed before changing
the current shell preference with "chsh".
This may be the case when an user is already using zsh but on a
different version from the one shipped with OS X
Fixes#264
Both solarized dark and light are now included in the subdir
iTerm2. They are copies from the original repo because it doesn't
seem worth to clone a ~10Mb repo just to keep in sync 2 files,
considering that solarized hasn't changed much in the past years.
The rakefile has been updated to trigger the automatic installation
of these two themes only if OS == OSX. The user will still have
to set the themes for his/her current profile manually (but that's
explained at the end of the installation process).