Permalink
Browse files

clear_terminal: clears Terminal.app history.

  • Loading branch information...
1 parent f106f24 commit f869e3bfb591b9c7f17025675f73bd17dac48836 @MikeMcQuaid committed Dec 13, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 clear_terminal.applescript
View
3 clear_terminal.applescript
@@ -0,0 +1,3 @@
+#!/usr/bin/osascript
+activate application "Terminal"
+tell application "System Events" to keystroke "k" using command down

0 comments on commit f869e3b

Please sign in to comment.