• Stars
    star
    105
  • Rank 328,196 (Top 7 %)
  • Language
    Swift
  • License
    MIT License
  • Created almost 7 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

This is a app for macOS that to open a new Finder window and change the current directory to the folder this app launched.

OpenTerminal for macOS

Build Status

Icon

This is a app for opening a Terminal window from Finder window. You can use iTerm2 window instead of Terminal window too.

How to use

Just launch OpenTerminal.app. When do so, a new Terminal window will be opened and move the current directory to the app's bundle path. But usually, use this app in the following two ways.

A) Launch from toolbar

We can also register this app to Finder's toolbar, then launch it from there. In this way, we can open a new Terminal window with the finder's path as current directory immediately.

When you select a folder in a Finder window, you can open a new Terminal window and move the current directory to the selected folder's path by clicking this app's icon in the toolbar on the Finder window. Also you are able to selecting some of folders in a Finderwindow. In this time, each paths of folder's will be opend in separated Terminal windows.

Alternatively, you click with no selection, a new Terminal window will be opened with the path shown in Finder as current directory.

Capture

B) Launch from Dock

There is also a way to launch this app from macOS Dock.

How to build

To build this app, open Terminal and clone this repository. Then move this project directory and type xcodebuild. By doing this, this app will be created in build/Release directory.

git clone https://github.com/es-kumagai/OpenTerminal.git
cd OpenTerminal

xcodebuild

Prepare for use

There are two ways to use this app.

A) Register to toolbar

First, OpenTerminal app move to any folder (e.g. /Application or ~/Application) then the app drag with โŒ˜+โŒฅ keys, and drop it to toolbar in a Finder window.

B) Register to Dock

To drag this app and drop it to macOS Dock, the app will be registered to the Dock.

Change Target Terminal

Switch to iTerm 2

If you'd like to use iTerm2 window instead of Terminal window, execute following command on Terminal,

defaults write jp.ez-style.appid.OpenTerminal ESTargetTerminalBundleIdentifier "com.googlecode.iterm2"

In this time, Apple Script asks you to select iTerm2 application. If asked, please select iTerm2 application from displayed list.

Switch to Apple Terminal

To use Terminal window, execute following command on Terminal,

defaults remove jp.ez-style.appid.OpenTerminal ESTargetTerminalBundleIdentifier

More Repositories

1

CodePiece

This is a useful app to share codes using Twitter and Gists on macOS.
Swift
28
star
2

ESNotification

A type-safe notification management system for iOS/OSX written in Swift 2.
Swift
9
star
3

OpenOthers

This is a safari app extension that can reopen the page shown in Safari's current tab by other application.
Swift
4
star
4

EzSample_iOS_OpenGLES_MonoImage

Convert UIImage to monotone color image by OpenGL ES 2.0 Fragment Shader.
Objective-C
3
star
5

Sample-Numeronyms

ๆ ชๅผไผš็คพใ‚†ใ‚ใฟใ•ใ‚“ใฎใ€Œใ‚„ใ•ใ—ใ„ Swift ๅ‹‰ๅผทไผšใ€ใงไฝœๆˆใ—ใฆใฟใŸใ€Web ใƒšใƒผใ‚ธใฎ่‹ฑๅ˜่ชžใ‚’ใƒŒใƒกใƒญใƒ‹ใƒ ๅŒ–ใ™ใ‚‹ Safari Web Extension ใฎใ‚ตใƒณใƒ—ใƒซใงใ™ใ€‚
Swift
2
star
6

D-marina-EasyToReserve

JavaScript
1
star
7

ESConoHaAPIKit

A type-safe web API client for ConoHa API in Swift 2. (Identity Service only yet)
Swift
1
star
8

ESGists

This is a small set of Gists API client for EZ-NET CodePiece.
Swift
1
star
9

Kitura-sys

Kitura system library
Swift
1
star
10

GenerateFrameworkHeadersInXcode

Generate header files from Xcode.app. This script work with class-dump tool. This script is written in Swift 1.2.
Objective-C
1
star
11

ESCSVParser

A type-safe CSV parser module for swift 2.0.
Swift
1
star
12

Build.MacPass

Build Script for MacPass.
Makefile
1
star
13

Kitura-router

Kitura routing library
Swift
1
star
14

EzSample_iOS_IBOutletCollection

How to use IBOutletCollection, and Using these objects by sort. (iOS5, Xcode 4.4.1, ARC)
Objective-C
1
star
15

EzSample_iOS_TableViewAutoScroll

(iOS5, Xcode 4.4.1, ARC) Auto scrolling a TableView using 'scrollToRowAtIndexPath:atScrollPosition:animated:' method.
Objective-C
1
star
16

TOTP

This package is a TOTP (Time-based One-time Password) Generator in Swift.
Swift
1
star