macOS Terminal Shortcut
This setup uses WezTerm as the terminal app.
Open WezTerm From A Command
Open WezTerm:
sh
open -a WezTermOpen WezTerm in the Desktop folder:
sh
open -a WezTerm ~/DesktopCreate A Keyboard Shortcut
Use the macOS Shortcuts app to open WezTerm from anywhere:
- Open the Shortcuts app.
- Create a new shortcut.
- Add the
Open Appaction. - Select
WezTerm. - Name the shortcut
Open WezTerm. - Open the shortcut details.
- Assign a keyboard shortcut.
Recommended shortcut:
text
Ctrl + Option + TOptional Shell Alias
Add this to ~/.zshrc.local if you want a short shell command:
sh
alias terminal='open -a WezTerm'Reload the shell:
sh
source ~/.zshrcThen run:
sh
terminal