Skip to content

Instantly share code, notes, and snippets.

@weirdpattern
Last active July 19, 2018 20:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save weirdpattern/b1c67aab24cb07c2d071654bbfa4253c to your computer and use it in GitHub Desktop.
Save weirdpattern/b1c67aab24cb07c2d071654bbfa4253c to your computer and use it in GitHub Desktop.
.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