Skip to content
easy to use wrapper for tmux https://github.com/fedux-org/tmrb
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
doc/examples
features
lib
spec
.gitignore
Env
Gemfile
Gemfile.lock
Guardfile
LICENCE.md
README.md
Rakefile
Tmrb
cucumber.yml
terminal_multiplexer.gemspec
tmrb.gemspec

README.md

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. It tries to get out of your way and implements only features really needed: You could use this library to create sessions and windows in that sessions.

Before using tmrb you should configure tmux via its config-file ".tmux.conf".

SYNOPSIS

Create script by your own

#require lib
require 'tmrb'
#create new instance
tmrb = TmRb::Multiplexer.new
#create new session to hold all windows
tmrb.new_session
tmrb.new_session(:session_name => 'session name' , :window_name => 'window_name', :command => 'command --option parameter')
#create new window
tmrb.new_window
tmrb.new_window(:window_name => 'window_name', :command => 'command')
#start tmux
tmrb.start

Generate script

tmrb init [template]
tmrb list templates
tmrb show [template]

INSTALL

  • Packaged:
gem install tmrb
  • Source code:
git clone https://github.com/fedux-org/tmrb.git
cd tmrb
rake build
gem install pkg/tmrb-<version>.gem

DEPENDENCIES

  • thor

EXAMPLES

Please see "doc/examples/" for example scripts.

FURTHER READING

The library uses semantic versioning. Please see http://semver.org for further information.

If you need information about tmux please see http://tmux.sourceforge.net or man tmux.

Something went wrong with that request. Please try again.