Mercurial > hg > Members > atton > pmux
view bin/pmuxinator @ 2:67a6071afec7
Rename tmuxinator -> pmuxinator
$ zmv **/*tmuxinator* **/*pmuxinator*
$ gsed -e 's/tmuxinator/pmuxinator/g' -i **/*.*
$ gsed -e 's/Tmuxinator/Pmuxinator/g' -i **/*.*
author | Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 21 Jul 2014 08:32:00 +0900 |
parents | bin/tmuxinator@39b72942a4d2 |
children | ea02332d9254 |
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