teamocil 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/teamocil/tmux/window.rb +1 -1
- data/lib/teamocil/version.rb +1 -1
- data/spec/teamocil/tmux/window_spec.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cbad5077eb1369da3d27442da61822b6dcf78ec6
|
4
|
+
data.tar.gz: 3bf3a74b470bdebe6846c388565cbce96a49fa85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4aa1033f625963b36ef40e15c5588ccfcbcbd4311b06c7eb3b768f27ca3dc1144d6c8a67635ffe0f4ee368ac3b2eb4749c7b9e3db0873f0cd07a6a6da0308db9
|
7
|
+
data.tar.gz: 170ba0ab08077f223da376bc7d80c7551adbbac5ff015c74d8b249560046689b833e2e337dcc209a0a22df4912e1e9b74d3b1d1065a993c06240bada917121c8
|
data/lib/teamocil/tmux/window.rb
CHANGED
@@ -66,7 +66,7 @@ module Teamocil
|
|
66
66
|
|
67
67
|
def spawn_window_commands
|
68
68
|
if Teamocil.options[:here] && first?
|
69
|
-
change_working_directory_commands
|
69
|
+
change_working_directory_commands.unshift(Teamocil::Command::RenameWindow.new(name: name))
|
70
70
|
else
|
71
71
|
Teamocil::Command::NewWindow.new(name: name, root: root)
|
72
72
|
end
|
data/lib/teamocil/version.rb
CHANGED
@@ -130,9 +130,9 @@ RSpec.describe Teamocil::Tmux::Window do
|
|
130
130
|
|
131
131
|
it do
|
132
132
|
expect(as_tmux).to eql [
|
133
|
+
Teamocil::Command::RenameWindow.new(name: name),
|
133
134
|
Teamocil::Command::SendKeysToPane.new(index: "#{name}.#{pane_base_index}", keys: 'cd "/tmp"'),
|
134
135
|
Teamocil::Command::SendKeysToPane.new(index: "#{name}.#{pane_base_index}", keys: 'Enter'),
|
135
|
-
Teamocil::Command::RenameWindow.new(name: name),
|
136
136
|
Teamocil::Command::SendKeysToPane.new(index: "#{name}.#{pane_base_index}", keys: 'foo; omg'),
|
137
137
|
Teamocil::Command::SendKeysToPane.new(index: "#{name}.#{pane_base_index}", keys: 'Enter'),
|
138
138
|
Teamocil::Command::SplitWindow.new(name: name, root: root),
|