Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Whenever I type 'exit' or I logout, the terminal window stays open and I have to close it manually. Can I change this behavior?

share|improve this question
up vote 39 down vote accepted

Go to Terminal -> Preferences, then on the right hand side select "Shell", then select "Close if the shell exited cleanly" from the dropdown labeled "When the shell exits".

This will close the shell if it exited without a problem (such as when you typed "exit"), but if the process returns an error it will stick around so that you can see what it was.

visual depiction of the menu

share|improve this answer
    
Thank you very much. I had missed that option in the settings pane! – Auron Jul 31 '09 at 21:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.