11 lines
273 B
Ruby
Executable File
11 lines
273 B
Ruby
Executable File
#!/usr/bin/env ruby
|
|
|
|
require File.dirname(__FILE__)+"/../lib/teamocil"
|
|
|
|
if ENV["TMUX"] == nil
|
|
puts "You must be in a tmux session to use teamocil"
|
|
else
|
|
layout = Teamocil::Layout.new(ARGV[0], File.join("#{ENV["HOME"]}/.teamocil", "#{ARGV[0]}.yml"))
|
|
layout.to_tmux
|
|
end
|