Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
.2016.09.26.exit-quit-terminal-shortcut
2016.09.26.exit-quit-terminal-shortcut
# This will exit the terminal process and then close the terminal window (no more ⌘ + Q)
$ quit
export TERMINAL=<TERMINAL>
alias quit='/usr/bin/osascript -e "tell application \"$TERMINAL\" to quit"; exit'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.