tmrb -- easy to use wrapper for tmux
DESCRIPTION
tmrb
(formerly known as terminal_multiplexer) is a wrapper for tmux to
integrate easily in one's development workflow.
You should configure tmux via its config-file ".tmux.conf". You could use this library to create sessions and windows in that sessions.
The library uses semantic versioning. Please see http://semver.org for further information.
SYNOPSIS
#require lib
require 'terminal-multiplexer'
#create new instance
tmux = Terminal::Multiplexer.new
#create new session to hold all windows
tmux.new_session
tmux.new_session(:session_name => 'session_name' , :window_name => 'window_name', :command => 'command')
#create new window
tmux.new_window
tmux.new_window(:window_name => 'window_name', :command => 'command')
#start tmux
tmux.start
INSTALL
Packaged:
gem install terminal_multiplexer
Source code:
git clone https://github.com/maxmeyer/terminal_multiplexer.git
cd terminal_multiplexer
rake build
gem install pkg/terminal_multiplexer-xxxx
EXAMPLES
Please see "doc/examples/" for example scripts.