Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where are OS X Terminal Window Groups saved

Tags:

terminal

macos

I know you can save Window Groups in Terminal using Windows > Save Windows as Group…, as explained in Mac OS X / Open terminal with specified windows.

However, where does Terminal save these states? I switch between an iMac and MacBook and want to sync these settings somehow. I'm thinking I could use a reverse symlink between the settings and Dropbox, but I need to know where they are first.

like image 721
SparrwHawk Avatar asked Jul 18 '13 08:07

SparrwHawk


1 Answers

Window groups are saved in a plist file at ~/Library/Preferences/com.apple.Terminal.plist. You an edit these using the plist file editor that comes with XCode ('open .apple.Terminal.plist' from a shell is sufficient if you've got XCode installed).

Fortunately you don't have a catch-22 when editing this file from a Terminal window. Terminal doesn't automatically checkpoint the file on exit, so you can edit the file, exit Terminal, then restart your Mac in order to refresh the data from the file.

like image 83
mpounsett Avatar answered Nov 14 '22 23:11

mpounsett