RogerThiede / dotfiles

OS X dotfiles managed via cider
MIT License
0 stars 0 forks source link

OS X Terminal Preferences - Close if the shell exited cleanly #16

Open RogerThiede opened 5 years ago

RogerThiede commented 5 years ago

From Terminal -> Preferences -> Profiles -> Shell, When the shell exits: "Don't close the window" is the default. Desired setting is "Close if the shell exited cleanly"

com.apple.Terminal "Window Settings" is an array of profiles, and each profile has a shellExitAction. Desired shellExitAction = 1 for "Close if the shell exited cleanly". However, I would prefer not to override all other settings for any given profile such as Homebrew. Can this one shellExitAction be modified by using "defaults write ...." and/or cider set-default?