tweemux 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +2 -2
- data/lib/tweemux/action/at.rb +1 -1
- data/lib/tweemux/version.rb +1 -1
- data/test/tweemux/action/on_test.rb +2 -2
- metadata +1 -1
data/README.md
CHANGED
@@ -63,14 +63,14 @@ It's also nice to share a windowing environment session as well. For example, th
|
|
63
63
|
|
64
64
|
Then you might consider doing adding a some ~/.ssh/config goodness:
|
65
65
|
|
66
|
-
Host
|
66
|
+
Host smh
|
67
67
|
Hostname somehost
|
68
68
|
User someuser
|
69
69
|
port 3322
|
70
70
|
|
71
71
|
Now you're down to just:
|
72
72
|
|
73
|
-
tweemux on
|
73
|
+
tweemux on smh
|
74
74
|
|
75
75
|
## Details about "Route to your sshd port", above
|
76
76
|
|
data/lib/tweemux/action/at.rb
CHANGED
@@ -9,7 +9,7 @@ class Tweemux::Action::At < Tweemux::Action
|
|
9
9
|
forced_path_for_osx_people = 'PATH=/usr/local/bin:/usr/bin'
|
10
10
|
explained_run cmd + [
|
11
11
|
'-t', forced_path_for_osx_people,
|
12
|
-
'tmux', '-
|
12
|
+
'tmux', '-2uS', Tweemux::SOCK, 'attach',
|
13
13
|
], "Connect to #{host}#{port_parens}, demand a pty, then attach to session"
|
14
14
|
end
|
15
15
|
end
|
data/lib/tweemux/version.rb
CHANGED
@@ -3,7 +3,7 @@ class Tweemux::Action::OnTest < MiniTest::Unit::TestCase
|
|
3
3
|
include TweemuxActionHelper
|
4
4
|
def argv; %w'at sharpsaw.org 2233' end
|
5
5
|
def expected_commands
|
6
|
-
[ %w(ssh sharpsaw.org -p2233 -t PATH=/usr/local/bin:/usr/bin tmux -
|
6
|
+
[ %w(ssh sharpsaw.org -p2233 -t PATH=/usr/local/bin:/usr/bin tmux -2uS /tmp/tweemux.sock attach) ]
|
7
7
|
end
|
8
8
|
end
|
9
9
|
|
@@ -11,6 +11,6 @@ class Tweemux::Action::OnImplicitPortTest < MiniTest::Unit::TestCase
|
|
11
11
|
include TweemuxActionHelper
|
12
12
|
def argv; %w'on sharpsaw.org' end
|
13
13
|
def expected_commands
|
14
|
-
[ %w(ssh sharpsaw.org -t PATH=/usr/local/bin:/usr/bin tmux -
|
14
|
+
[ %w(ssh sharpsaw.org -t PATH=/usr/local/bin:/usr/bin tmux -2uS /tmp/tweemux.sock attach) ]
|
15
15
|
end
|
16
16
|
end
|