-
-
Save politicus/5cc7d4ddfcfcaa4c4c10efa6640341bd to your computer and use it in GitHub Desktop.
Alfred Wezterm Applescript (For terminal feature)
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(query) | |
tell application "WezTerm" to activate | |
do shell script "/Applications/WezTerm.app/Contents/MacOS/wezterm cli spawn" | |
set commandList to paragraphs of query | |
repeat with command in commandList | |
do shell script "echo " & quoted form of command & " | /Applications/WezTerm.app/Contents/MacOS/wezterm cli send-text --no-paste" | |
end repeat | |
end alfred_script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment