Skip to main content
tab - Opens a new OS X Terminal window in the current directory and runs
an optional command in it.

If the current directory contains a file `.tabfile` this one is executed
instead (see below).

Download the latest version from: https://github.com/bartTC/tab

Installation:
-------------

tab requires Python 3. Currently Mac OS X does not ship with Python 3, but you
can easily install it with the original package from:

https://www.python.org/downloads/mac-osx/

or if you're already using Homebrew, install it with it:

brew install python3

Install tab itseelf with pip: `pip3 install tab-osx`, or if you prefer the
manual way copy the `tab` file into your `/usr/local/bin` and make it
executable:

cp tab /usr/local/bin
chmod +x /usr/local/bin/tab

Options:
--------

(no arguments) Opens a new Terminal tab and changes to the current
directory.

-n: Window name of the new tab
-w: Open a new window instead of a tab
-p: Position of the new window on screen in the format x,y (e.g 400,200)
-s: Size of the new window in the format w,h (e.g. 400,200)
-t: Path to a tabfile to execute.

--testsuite: Opens a couple of windows to test and demonstrate
capabilities.

Example:
--------

tab # Opens a new tab
tab vim # Opens vim in a new tab
tab -w -s 100,100 -p 400,700 vim # Opens vim in a new window at the
# specified position and size
tab -t ~/Projects/project.tabfile # Open the tabfile

Tabfile:
--------

You can specify multiple `tab` actions in one file, to quickly open multiple
tabs with commands. Tabfile is an INI file, each tab is seperated by a group
called either `tab:<n>` or `window:<n>`.

You can specify options as 'name:', 'size:', and 'position:'. All other lines
are commands which will be executed.

[tab:1] # Gulp Watcher
source ~/myproject/bin/activate
gulp watch

[tab:2] # Django Project
source ~/myproject/bin/activate
manage.py runserver # Start the server

[tab:3]
open http://127.0.0.1:8000/ # Open web browser for above server
clear # and have a blank tab to work in

[window:1] # Vim Editor in a separate
size: 200,400 # window.
position: 600,300
vim

Release files for tab-osx 1.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tab-osx 1.4.1
File Size Uploaded
tab-osx-1.4.1.tar.gz 4.8 kB Details

Release files / tab-osx-1.4.1.tar.gz

Download URL tab-osx-1.4.1.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
cfcce882103f9e80d458592a85a5ae8dbfef365ba27898939b48d8068adada4f
BLAKE2b-256 checksum
How to use checksums
a6f613ee9df35e24bd6cb281fdff4d31207c73c85195d1b77cc6a7eaf4da8f02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.4.1 This release

1 release file

1.4

1 release file

1.3

1 release file

1.2

1 release file

1.1.1

1 release file

1.1

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page