Where exactly is iTerm's user preferences file located? What I want is to sync this file over Github between several machines.
Asked
Active
Viewed 4.2k times
1 Answers
67
~/Library/Preferences/com.googlecode.iterm2.plist
Also note that you can set a custom location in iTerm Preferences under the General tab.
Stefan
- 259
Jay Thompson
- 4,426
-
3So this custom location is itself a preference, and therefore is stored in the preferences file that it refers to? That wouldn't work, so it seems like this one preference has to be special somehow. Stored in the usual place, and used for bootstrapping the rest? – Don Hatch Apr 30 '19 at 07:54
-
6@DonHatch Yes, that's basically what happens. On start, iTerm2 loads the default prefs, then syncs changes from the custom location. On quit, it writes changes in the default location's plist to the custom location. Most of that is done in https://github.com/gnachman/iTerm2/blob/master/sources/iTermRemotePreferences.m – Jay Thompson May 01 '19 at 14:19