Skip to content

Instantly share code, notes, and snippets.

View dinshaw's full-sized avatar

Dinshaw Gobhai dinshaw

View GitHub Profile
@dinshaw
dinshaw / run_command.applescript
Last active September 20, 2020 23:11
SublimText 3 Plugin to run specs in an external terminal window.
on execInNewTab(_title, _command)
tell application "Terminal"
activate
set currentTab to do script _command
set custom title of tab 1 of window 1 to _title
end
end execInTerminalTab
on execInTerminalTab(_command, _window, _tab)
tell application "Terminal"