Skip to content

Instantly share code, notes, and snippets.

Avatar

Mayank Raj dsculptor

  • ThoughtSpot
  • Mountain View, CA
View GitHub Profile
View transmit-iterm-patch.applescript
-- Run the following cmd to make Transmit marry iterm2 as its Terminal partner:
-- defaults write com.panic.Transmit OpenTerminalScriptPath ~/transmit-iterm-patch.applescript
on openTerminal(location, remoteHost, serverPort)
-- Prepare sshCmd and cmd:
set sshCmd to ""
set cmd to "cd \"" & location & "\""
if ((count of remoteHost) is greater than 0) then
set sshCmd to "ssh " & remoteHost
You can’t perform that action at this time.