Skip to content

Instantly share code, notes, and snippets.

@slifin
Created May 11, 2019 15:58
Show Gist options
  • Select an option

  • Save slifin/5265bc56dc6cff737dcc3c256051c5be to your computer and use it in GitHub Desktop.

Select an option

Save slifin/5265bc56dc6cff737dcc3c256051c5be to your computer and use it in GitHub Desktop.
How to send selected text to the repl from any editor
on run {input, parameters}
tell application "Terminal"
do script (input) in window 1
end tell
return input
end run
https://i.imgur.com/C5Q4fhd.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment