Skip to content

phuesler/rb_terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rb Terminal

A simple wrapper to create several terminal tabs on OSX and run commands on them. For instance, you can use it to the usual tabs for a rails project.

#!/usr/bin/env ruby
require 'rb_terminal'

project_dir = "~/work/rails/awesomeapp"
RbTerminal::Terminal.new("cd #{project_dir} && git status") do |term|
  term.tab("cd #{project_dir} && tail -f -n 100 log/development.log")
  term.tab("cd #{project_dir} && script/console")
  term.tab("cd #{project_dir} && script/server")  
end

Install

gem install  phusler-rb_terminal --source http://gems.github.com

There is an issue with the runtime dependencies. The dependency rb-appscript might not get installed, so you have to do it manually

gem install rb-appscript

About

A simple wrapper to create several terminal tabs on OSX and run commands on them

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages