#!/bin/sh system_type=$(uname -s) iterm_config_path=$HOME/.dotfiles/config/iterm2 if [ "$system_type" = "Darwin" ]; then if [ -d "$iterm_config_path" ]; then echo "Setting iTerm preference folder" defaults write com.googlecode.iterm2 PrefsCustomFolder "$iterm_config_path" fi fi