Mercurial > hg > Members > atton > pmux
view bin/tmuxinator @ 0:39b72942a4d2
Clone tmuxinator from github
https://github.com/tmuxinator/tmuxinator/tree/67140f4abfcf640f433f76310d6b927de06a58ac
author | Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 21 Jul 2014 08:04:55 +0900 |
parents | |
children |
line wrap: on
line source
#!/usr/bin/env ruby $: << File.expand_path("../../lib/", __FILE__) require "thor" require "tmuxinator" if ARGV.length == 1 name = ARGV[0] if Tmuxinator::Cli.new.command_list.include?(name) Tmuxinator::Cli.start elsif Tmuxinator::Config.exists?(name) Tmuxinator::Cli.new.start(name) else Tmuxinator::Cli.start end else Tmuxinator::Cli.start end