Skip to content

Instantly share code, notes, and snippets.

View jaredumbehr's full-sized avatar

Jared Umbehr jaredumbehr

  • Kiln, MS
  • 08:37 (UTC -05:00)
View GitHub Profile
@dawsontoth
dawsontoth / restartTerminal.sh
Created December 6, 2012 15:30
osascript to focus terminal, send ctrl+c, then up, then enter.
tell application "System Events"
tell application "Terminal" to activate
keystroke "c" using {control down}
key code 126
key code 52
end tell