Sha256: 564726f45510b307e16890e303786be843b19e21a9357058df41d16c7143a5a7
Contents?: true
Size: 1.29 KB
Versions: 2
Compression:
Stored size: 1.29 KB
Contents
# 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 ### Defining Environments Environments should be stored in `~/.tabby/`, using a simple and short name. We'll walk through building my `~/.tabby/blog.rb` environment. 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" def jekyll exec "jekyll --auto --server" end def sass 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 Environment tabby blog ![tabby](https://github.com/mnoble/tabby/raw/master/screenshot.png) ## License See LICENSE
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
tabby2-0.2.1 | README.markdown |
tabby-0.1.0 | README.markdown |