Created
June 13, 2022 12:49
-
-
Save shekohex/5618623a31d1846a7e8dbffd5955b0cb to your computer and use it in GitHub Desktop.
Wezterm with Alfred Custom Terminal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Hmm it works for me
Just tried it out, works for me even in a tmux session :) thanks!
Yeah it woks @gogamid <>
Good for you🥴
I made my own version, which should be less disruptive to TUI's or half-entered commands if that's something that interests you all. Originally built because my commands were being inputted as all caps, which could have been an error in my setup but I didn't care enough to find out lol
The original still works for me in Jan 2025. The "here's the update version" creates a split pane and I don't know why that would be preferable.
still works just fine, ty <3
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this does not work anymore, so here is the update
https://gist.github.com/gogamid/664bccb3d02acfbc4abc0ba4dcc209d8