summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlen <alen@dotfiles.xyz>2023-09-12 00:32:12 +0400
committerAlen <alen@dotfiles.xyz>2023-09-12 00:32:12 +0400
commit6d712bccdaf891ea1c5402137f070c8504065e6c (patch)
treeb7d9e13e61671a0cd9095d366eeb4b7062f30b62
parent36718adf9069edadf946411627eccb50a1399a59 (diff)
Add script to make iTerm use .config for preferences
-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