Skip to content

Wrapper for macOS's open command to open folder in new tab of Finder instead of new window.

Notifications You must be signed in to change notification settings

rcmdnk/open_newtab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

open_newtab

Wrapper for macOS's open command to open folder in new tab of Finder instead of new window.

Note!

After macOS Sierra, you don't need this script to open with new tab.

In Sierra, you can find Prefer tabs when opening documents setting in Dock of System Preferences.

To open in new tab, set it Always.

macOS Sierra: Open folders in new Finder tabs or windows

Installation

On Mac, you can install scripts by Homebrew:

$ brew tap rcmdnk/rcmdnkpac/open_newtab

If you have brew-file, add following lines to Brewfile:

tap 'rcmdnk/rcmdnkpac'
brew 'open_newtab'

then, do:

$ brew file install

Or if you write like:

tapall 'rcmdnk/rcmdnkpac'

and do brew file install, you will have all useful scripts in rcmdnkpac.

Or, simply download the script and set where you like.

Usage

open_newtab is wrapper script for open command and the usage is exactly same as open.

To make it easy, use alias:

alias open=open_newtab

in your .bashrc or .zshrc.

About

Wrapper for macOS's open command to open folder in new tab of Finder instead of new window.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages