Project

tabby2

0.0
No commit activity in last 3 years
No release in over 3 years
Simple iTerm2 project environment setup.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0.0.1
~> 2.1.0

Runtime

~> 0.14.6
 Project Readme

Tabby

Tabby is a simple iTerm2 environment configuration tool. It allows you to create different environments for different projects, each with their own set of tabs and command sets.

Usage

Install

gem install tabby2

Creating Projects

tabby create PROJECT_NAME

Listing Projects

tabby list

Editing Projects

Projects are stored in ~/.tabby/, using a simple and short name. You can edit them at anytime by running tabby edit PROJECT_NAME

Tabby environments are just regular Ruby classes. The filename and classname should match, with the classname following regular Ruby standards:

class Blog < Tabby::Base
end

Define your project's root directory with basedir:

class Blog < Tabby::Base
  basedir "~/Dev/Blog"
end

Creating tabs is just a matter of creating methods. There should be one method per tab. The method name becomes the tab's title; replacing underscores with spaces.

class Blog < Tabby::Base
  basedir "~/Dev/Blog"

  tab "jekyll" do
    exec "jekyll --auto --server"
  end

  tab "sass" do
    exec "sass --watch public/css/main.sass:public/css/main.css"
  end
end

Each tab will start off by cd'ing into the environment's basedir. Then it will execute it's list of commands in order.

Starting An Project

tabby open blog

tabby

License

See LICENSE