macOS Terminal Shortcut
This setup uses WezTerm as the terminal app. You can open it from a shell command, from macOS Shortcuts, or through a custom alias.
Open WezTerm From A Command
Open WezTerm:
sh
open -a WezTermOpen WezTerm in the Desktop folder:
sh
open -a WezTerm ~/DesktopOpen WezTerm from the current shell with an alias:
sh
alias terminal='open -a WezTerm'Create 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 + TWhy this shortcut
Ctrl + Option + T is memorable and usually avoids conflicts with common macOS and app-level shortcuts.
Store The Alias Safely
Add aliases to ~/.zshrc.local, not to the tracked zsh/.zshrc:
sh
alias terminal='open -a WezTerm'Reload the shell:
sh
source ~/.zshrcThen run:
sh
terminalTroubleshooting
Check that WezTerm is installed:
sh
open -a WezTermIf macOS says the app cannot be found, install it:
sh
brew install --cask wezterm