forked from https://gist.github.com/jonschlinkert/7683131911c0cfd18d5cf8e818adffbc
- Open
Automator - Create an
Application - Choose
Actions > Utilities > Run Applescripton the left side - Paste the contents of
iTerm2 Here.applescriptinto the window. - Save the application to
Applicationsfolder - Go to
Applicationsfolder - 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