Skip to content

Commit

Permalink
Rest “Open directory in Terminal” to upstream.
Browse files Browse the repository at this point in the history
Upstream now defaults to open a new tab, so no need for a customized version anymore \o/
  • Loading branch information
noniq committed Aug 18, 2014
1 parent 19f0669 commit efbb658
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Commands/Open directory in Terminal.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,9 @@ end
def terminal_script_new_window(dir)
return <<-APPLESCRIPT
tell application "Terminal" to activate
tell application "System Events"
tell process "Terminal" to keystroke "t" using command down
end tell
tell application "Terminal"
do script "cd #{e_as(e_sh(dir))}; clear" in the last tab of window 1
activate
do script "cd #{e_as(e_sh(dir))}; clear; pwd"
end tell
APPLESCRIPT
end
Expand Down

0 comments on commit efbb658

Please sign in to comment.