Skip to content

Instantly share code, notes, and snippets.

@shekohex
Created June 13, 2022 12:49
Show Gist options
  • Save shekohex/5618623a31d1846a7e8dbffd5955b0cb to your computer and use it in GitHub Desktop.
Save shekohex/5618623a31d1846a7e8dbffd5955b0cb to your computer and use it in GitHub Desktop.
Wezterm with Alfred Custom Terminal
on alfred_script(q)
tell application "wezterm" to activate
do shell script "/Applications/WezTerm.app/Contents/MacOS/wezterm cli send-text "
tell application "System Events" to keystroke q
tell application "System Events"
key code 36 -- enter key
end tell
end alfred_script
@namtonthat
Copy link

Hmm it works for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment