I switch between development projects quite frequently — usually at least five or ten times a day. Most of them require an ongoing process like a web server or a watch-and-build script, so I almost always have a process running in my Terminal.
Terminal’s behaviour when closing a window or tab with a running process is to ask first. This is perfect for a default, but since I rarely run anything that matters if it gets killed, I’d rather just be able to hit
cmd-q without any hold-ups.
To skip the confirmation:
- Open Terminal’s preferences
Profilesfrom the toolbar
Shellfrom the tab bar below
- Change the
Ask before closingoption to
I’ve found this speeds things up nicely when reorganising windows, and it’s also handy when restarting as Terminal won’t hold that up either. If you have a few very common processes (say
npm start or
rails server), you could add those to the filter list instead and keep the confirmation for everything else.