Mercurial > hg > Members > atton > pmux
comparison 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 |
comparison
equal
deleted
inserted
replaced
1:107d94e009cc | 2:67a6071afec7 |
---|---|
1 #!/usr/bin/env ruby | |
2 $: << File.expand_path("../../lib/", __FILE__) | |
3 | |
4 require "thor" | |
5 require "tmuxinator" | |
6 | |
7 if ARGV.length == 1 | |
8 name = ARGV[0] | |
9 | |
10 if Tmuxinator::Cli.new.command_list.include?(name) | |
11 Tmuxinator::Cli.start | |
12 elsif Tmuxinator::Config.exists?(name) | |
13 Tmuxinator::Cli.new.start(name) | |
14 else | |
15 Tmuxinator::Cli.start | |
16 end | |
17 else | |
18 Tmuxinator::Cli.start | |
19 end |