Skip to main content

t is for terminal. iTerm2 automated configuration

Project description

iterm2magic: t is for terminal

iTerm2 automated configuration. Stop configuring your terminals or setting up your environment.

iterm2magic is a very simple utility that allows you to define your terminal configurations and layout for a specific project and run specific commands in each properly named tabs. t keeps track of terminals and processes it creates and allows you to shut everything down gracefully or forcefully.

Be in control of your setup, trust it, forget about it and focus on your tasks.

Usage

Usage: iterm2magic [OPTIONS] COMMAND

iTerm2 automated configuration

Commands:
  start		Start commands in named tabs or named configuration
  stop		Stop commands and close opened tabs / windows
  help		display this page

Example

$ t start "docker-compose up@docker" "cd front;yarn start@front" "cd back;yarn start@back"

Will create a new iTerm window with 3 tabs:

  • The first tab will be named docker and will run docker-compose up
  • The second tab will be named front and will go to the front subdirectory and run yarn start
  • The third tab will be named back and will go to the back subdirectory and run yarn start

Say Thanks!

Say Thanks!

Simply click on the icon above to let me know you like it. Takes less than a minute.
This is simple and keeps me motivated to make improvements

System Dependencies

iterm2magic relies on the iterm2 python package
iterm2 relies on iTerm 3.3.10 or higher
iTerm python scripting API must be enabled
Follow the tutorial here that will guide you to enable it

Installation

t can be installed with pip:

$ pip install iterm2magic

Alternatively, you can grab the latest source code from GitHub:

$ git clone git://github.com/michakfromparis/iterm2magic.git
$ cd iterm2magic
$ python setup.py install

Documentation

Documentation Status

iterm2magic has usage and reference documentation at iterm2magic.readthedocs.io.
Say Thanks! This is simple and keeps me motivated to make improvements

Contributing

iterm2magic happily accepts contributions. Please see our contributing documentation for some tips on getting started.

Security Disclosures

To report a security vulnerability, please use the Tidelift security contact.
Tidelift will coordinate the fix and disclosure with maintainers.

Maintainers

Credits

Infinite thanks to George Nachman (@gnachman) for brewing OSX's favorite terminal for so many years and opening the scripting API to python after years of solid AppleScripting (not sure solid was the right word).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iterm2magic-0.1.0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iterm2magic-0.1.0-py2-none-any.whl (15.5 kB view details)

Uploaded Python 2

File details

Details for the file iterm2magic-0.1.0.tar.gz.

File metadata

  • Download URL: iterm2magic-0.1.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.44.0 CPython/3.7.7

File hashes

Hashes for iterm2magic-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7cae157f056a8b72b201c12daddb92b5c77d7f6da8edba6efb20296c6f2d0201
MD5 978c021f88632af27dad6821654efef5
BLAKE2b-256 1c856a0b7d5f320d14e7626a31009b1be69fdea1ec99305bb52ab5b322270fc2

See more details on using hashes here.

File details

Details for the file iterm2magic-0.1.0-py2-none-any.whl.

File metadata

  • Download URL: iterm2magic-0.1.0-py2-none-any.whl
  • Upload date:
  • Size: 15.5 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.44.0 CPython/3.7.7

File hashes

Hashes for iterm2magic-0.1.0-py2-none-any.whl
Algorithm Hash digest
SHA256 79564ab56e4b423e2c8ac1e43b9367f17711bc6d082198b23b5c2cbba6fc032f
MD5 1059830e9caa68e13001702913cb7bba
BLAKE2b-256 93728a67f4fdff777635350330e0e50b557832170cb06dde3f393ecb7bf51239

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page