Terminal window close on shell exit

belsebubben

Registered
Remember how you could get the terminal window to immediatelly disappear when the shell process exited in PB?

The setting is still there...
Point your favourite text editor to
~/Library/Preferences/com.apple.Terminal.plist

Find the rows:
<key>ShellExitAction</key>
<integer>2</integer>

change the 2 to a 1 and restart the terminal app..

Enjoy!
 

Steve Sell

Registered
Dude, why don't you just go to Preferences->General and check the "Close Window if Shell exits cleanly" button??

-Steve
 

ktappe

Registered
Because this is great info if you want to script settings like this, such as a "firstboot" script for mass imaging & deployment.
 
Top