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?
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?