/Open-iTerm-or-Terminal-Here...

Generates an Applescript app that you can put in your Finder toolbar which will open an iTerm or Terminal tab at the current directory.

Primary LanguageShellMIT LicenseMIT

Open iTerm or Terminal Here...

This project generates an Applescript app that you can put in your Finder toolbar which will open an iTerm or Terminal tab at the current directory.

alt text

alt text

I know there's already a ton of these types of apps out there, but I wanted to make my own anyway :)

Prerequisites

  • If using iTerm, requires at least version 3
  • Tested on Mac OS X Sierra (10.12), but should likely work on earlier versions

Setup

  1. Generate the "Open iTerm Here..." or "Open Terminal Here..." app.
    It will show up in your Applications folder (/Applications).
./generate.sh [iterm|terminal]

For example:

$ ./generate.sh iterm
Preparing to generate 'Open iTerm Here...' app
Putting AppleScript into place
Setting the icon
Reticulating splines
Opening app location in Finder
Done
  1. Click and drag the app into the toolbar area where you want it. On newer versions of OS X, you have to hold down the Command (⌘) key until a green plus sign (+) appears. alt text

(This gif shows the process for the "Open iTerm Here..." app, but it's the same for the "Open Terminal Here..." app)