1total entries in shortcuts
Exit and quit terminal with a single command
Syntax
export TERMINAL=<TERMINAL> | |
alias quit='/usr/bin/osascript -e "tell application \"$TERMINAL\" to quit"; exit' |
Option | Description |
---|---|
TERMINAL | An environment variable with the name of the terminal you prefer (I export this in .bash_exports) |