diff --git a/iterm/.gitignore b/iterm/.gitignore
new file mode 100644
index 000000000..e1637bbc1
--- /dev/null
+++ b/iterm/.gitignore
@@ -0,0 +1 @@
+com.googlecode.iterm2.plist
diff --git a/iterm/com.googlecode.iterm2.plist b/iterm/com.googlecode.iterm2.plist.example
similarity index 99%
rename from iterm/com.googlecode.iterm2.plist
rename to iterm/com.googlecode.iterm2.plist.example
index 66bd3d7be..4c90a3127 100644
--- a/iterm/com.googlecode.iterm2.plist
+++ b/iterm/com.googlecode.iterm2.plist.example
@@ -971,6 +971,12 @@
MaxVertically
+ NSNavLastRootDirectory
+ ~/Documents
+ NSNavPanelExpandedSizeForOpenMode
+ {712, 448}
+ NSNavPanelExpandedSizeForSaveMode
+ {712, 488}
NSQuotedKeystrokeBinding
NSRepeatCountBinding
@@ -1006,7 +1012,7 @@
NSWindow Frame SUUpdateAlert
330 289 620 392 0 0 1280 777
NSWindow Frame iTerm Window 0
- 0 9 1274 768 0 0 1280 777
+ 0 4 1914 1053 0 0 1920 1057
NeverWarnAboutShortLivedSessions_21048CBB-8F4B-4492-A49A-8DCDADDF9248
New Bookmarks
@@ -1205,7 +1211,7 @@
Columns
80
Command
- /usr/bin/login -f carlos
+ /usr/local/bin/zsh --login
Cursor Color
Blue Component
@@ -1227,7 +1233,7 @@
Cursor Type
0
Custom Command
- No
+ Yes
Custom Directory
Recycle
Default Bookmark
@@ -1824,7 +1830,7 @@
SUHasLaunchedBefore
SULastCheckTime
- 2016-03-22T12:29:30Z
+ 2016-04-05T18:23:54Z
SavePasteHistory
ShowBookmarkName
diff --git a/iterm/install.sh b/iterm/install.sh
index e29a3982a..878e7b3b5 100755
--- a/iterm/install.sh
+++ b/iterm/install.sh
@@ -1,4 +1,6 @@
#!/bin/sh
[ "$(uname -s)" != "Darwin" ] && exit 0
+sed "s;/Users/carlos/.dotfiles;$ZSH;" \
+ "$ZSH"/iterm/com.googlecode.iterm2.plist.example > "$ZSH"/iterm/com.googlecode.iterm2.plist
defaults write com.googlecode.iterm2 "PrefsCustomFolder" -string "$ZSH/iterm"
defaults write com.googlecode.iterm2 "LoadPrefsFromCustomFolder" -bool true