summary refs log tree commit diff
path: root/run_macos_iterm_uses_dot_config.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run_macos_iterm_uses_dot_config.sh')
-rw-r--r--run_macos_iterm_uses_dot_config.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/run_macos_iterm_uses_dot_config.sh b/run_macos_iterm_uses_dot_config.sh
new file mode 100644
index 0000000..09970bb
--- /dev/null
+++ b/run_macos_iterm_uses_dot_config.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+set -e
+
+defaults write com.googlecode.iterm2 PrefsCustomFolder -string "${HOME}/.config/iterm2"
+defaults write com.googlecode.iterm2 LoadPrefsFromCustomFolder -boolean true