aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMatt Furden2012-04-12 19:56:35 -0700
committerAdam Vandenberg2012-06-28 18:46:29 -0700
commit2786671bce73bf78fff686b226e1cf04fca68aee (patch)
tree8601230d3288f31d89f12363dfce93b4770b4a40 /Library
parenta7079266c2a9c5eeb37bed0f60581853936b92da (diff)
downloadhomebrew-2786671bce73bf78fff686b226e1cf04fca68aee.tar.bz2
wemux 3.1.0
wemux enhances tmux to make multi-user terminal multiplexing both easier and more powerful. It allows users to host a wemux session and have clients join in either mirror (read-only) or pair mode, allowing multiple people to work in the same system simultaneously. It features multi-session support as well as user listing and notifications when users attach/detach. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/wemux.rb35
1 files changed, 35 insertions, 0 deletions
diff --git a/Library/Formula/wemux.rb b/Library/Formula/wemux.rb
new file mode 100644
index 000000000..7177e6ad1
--- /dev/null
+++ b/Library/Formula/wemux.rb
@@ -0,0 +1,35 @@
+require 'formula'
+
+class Wemux < Formula
+ homepage 'https://github.com/zolrath/wemux'
+ url 'https://github.com/downloads/zolrath/wemux/wemux-3.1.0.tar.gz'
+ sha1 '707752b31dae746a28f0a33dfee21035820b1c15'
+
+ head 'https://github.com/zolrath/wemux.git'
+
+ depends_on 'tmux'
+
+ def install
+ bin.install 'wemux'
+ man1.install 'man/wemux.1'
+
+ inreplace "wemux.conf.example", 'change_this', ENV['USER']
+ etc.install 'wemux.conf.example' => 'wemux.conf'
+ end
+
+ def caveats; <<-EOS.undent
+ Your current user account has been automatically added as a wemux host.
+
+ To give a user the ability to host wemux sessions add them to the
+ host_list array in:
+ #{etc}/wemux.conf
+
+ Either edit the file in your text editor of choice or run `wemux conf` to
+ open the file in your $EDITOR.
+ EOS
+ end
+
+ def test
+ system "#{bin}/wemux help"
+ end
+end