forked from https://gist.github.com/jonschlinkert/7683131911c0cfd18d5cf8e818adffbc
- Open
Automator
- Create an
Application
- Choose
Actions > Utilities > Run Applescript
on the left side - Paste the contents of
iTerm2 Here.applescript
into the window. - Save the application to
Applications
folder - Go to
Applications
folder - Press right click on
iTerm2.app
, click on the icon in the top left corner and hit cmd + c - Press right click on
iTerm2 Here.app
, click on the icon in the top left corner and hit cmd + v - drag the script onto the Finder window while holding the cmd key