rkanter / 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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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)

Using Mac OS X 10.14 Mojave or later?

The app works, but there's some useful security info here.

About

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

License:MIT License


Languages

Language:AppleScript 58.5%Language:Shell 41.5%