When I want to close a window I type exit
:
mbp-thomas in ~
○ → exit
logout
[Opération terminée]
Then cmd + w to close the window.
Is there a way to do it with a little script like if I type quit
it exit the session then close the window ?
CTRL-D
does the same as typingexit
and hittingENTER
, but is much quicker. Also works when logging off a remote server in an SSH session.