Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/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.
https://github.com/rkanter/Open-iTerm-or-Terminal-Here...

applescript finder finder-toolbar iterm2 mac terminal

Last synced: 13 days ago
JSON representation

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

Awesome Lists containing this project

README

        

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](media/iterm_toolbar.png "iTerm Toolbar")

![alt text](media/terminal_toolbar.png "Terminal Toolbar")

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
````

2. 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](media/add_icon_75_transparent.gif "Add the app to the Finder toolbar")

(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](MOJAVE.md).