Skip to main content
replaced http://apple.stackexchange.com/ with https://apple.stackexchange.com/
Source Link

You can change terminal only with this one command to write a new preference for that specific app.

defaults write com.apple.terminal NSQuitAlwaysKeepsWindows -bool false

This is general, so of course, substitute safari or quicktimeplayerX or whatever in the com.apple.terminal portion of the command as needed. This setting switches the default save behavior upon quitting that one app. You'll find many of the other apps that work well with this setting by searching on NSQuitAlwaysKeepsWindowssearching on NSQuitAlwaysKeepsWindows.

Of course, you should issue this defaults command after closing all windows and then quitting the application to ensure the settings are read the next time Terminal starts.

You can change terminal only with this one command to write a new preference for that specific app.

defaults write com.apple.terminal NSQuitAlwaysKeepsWindows -bool false

This is general, so of course, substitute safari or quicktimeplayerX or whatever in the com.apple.terminal portion of the command as needed. This setting switches the default save behavior upon quitting that one app. You'll find many of the other apps that work well with this setting by searching on NSQuitAlwaysKeepsWindows.

Of course, you should issue this defaults command after closing all windows and then quitting the application to ensure the settings are read the next time Terminal starts.

You can change terminal only with this one command to write a new preference for that specific app.

defaults write com.apple.terminal NSQuitAlwaysKeepsWindows -bool false

This is general, so of course, substitute safari or quicktimeplayerX or whatever in the com.apple.terminal portion of the command as needed. This setting switches the default save behavior upon quitting that one app. You'll find many of the other apps that work well with this setting by searching on NSQuitAlwaysKeepsWindows.

Of course, you should issue this defaults command after closing all windows and then quitting the application to ensure the settings are read the next time Terminal starts.

added 178 characters in body
Source Link
bmike
  • 241.3k
  • 80
  • 433
  • 958

You can change terminal only with this one command to write a new preference for that specific app.

defaults write com.apple.terminal NSQuitAlwaysKeepsWindows -bool false

This is general, so of course, substitute safari or quicktimeplayerX or whatever in the com.apple.terminal portion of the command as needed. This setting switches the default save behavior upon quitting that one app. You'll find many of the other apps that work well with this setting by searching on NSQuitAlwaysKeepsWindows.

Of course, you should issue this defaults command after closing all windows and then quitting the application to ensure the settings are read the next time Terminal starts.

You can change terminal only with this one command to write a new preference for that specific app.

defaults write com.apple.terminal NSQuitAlwaysKeepsWindows -bool false

This is general, so of course, substitute safari or quicktimeplayerX or whatever in the com.apple.terminal portion of the command as needed. This setting switches the default save behavior upon quitting that one app. You'll find many of the other apps that work well with this setting by searching on NSQuitAlwaysKeepsWindows.

You can change terminal only with this one command to write a new preference for that specific app.

defaults write com.apple.terminal NSQuitAlwaysKeepsWindows -bool false

This is general, so of course, substitute safari or quicktimeplayerX or whatever in the com.apple.terminal portion of the command as needed. This setting switches the default save behavior upon quitting that one app. You'll find many of the other apps that work well with this setting by searching on NSQuitAlwaysKeepsWindows.

Of course, you should issue this defaults command after closing all windows and then quitting the application to ensure the settings are read the next time Terminal starts.

Source Link
bmike
  • 241.3k
  • 80
  • 433
  • 958

You can change terminal only with this one command to write a new preference for that specific app.

defaults write com.apple.terminal NSQuitAlwaysKeepsWindows -bool false

This is general, so of course, substitute safari or quicktimeplayerX or whatever in the com.apple.terminal portion of the command as needed. This setting switches the default save behavior upon quitting that one app. You'll find many of the other apps that work well with this setting by searching on NSQuitAlwaysKeepsWindows.