A project to save the settings and preferences for iTerm2 to a Git repository in XML format which is easier for humans to reason about.
There are 2 included programs:
install-settings.sh: downloads the XML file, converts it into the the binary format expected by the application and installs it into the correct locationupdate-settings.sh: takes the current settings and preferences in binary format and converts it to an XML file in the project (git diffcan be used to inspect any changes)
Note that iTerm.app could overwrite your preferences when it exits so there are some checks to make sure it's doing it's work cleanly.
These particular settings use the Inconsolata font which is assumed to already be installed. To download and install, simply use Homebrew-Cask:
brew cask install font-inconsolataTo install iTerm2 you can also use Homebrew-Cask:
brew cask install iterm2You can install the settings by "curl bashing" the installation script:
curl -sSf https://raw.githubusercontent.com/fnichol/macosx-iterm2-settings/master/contrib/install-settings.sh | bashAlternatively, clone the Git repository and run the command from there:
git clone https://github.com/fnichol/macosx-iterm2-settings.git
cd macosx-iterm2-settings
./contrib/install-settings.shUpdating the current settings and preferences XML file is done by running the update program out of the Git clone:
./contrib/update-settings.shYou can inspect any changes with git diff and commit any changes by:
git add com.googlecode.iterm2.plist
git commit