tmuxinator 3.3.8 → 3.4.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.
- checksums.yaml +4 -4
- data/lib/tmuxinator/assets/sample.yml +10 -4
- data/lib/tmuxinator/assets/template.erb +3 -2
- data/lib/tmuxinator/assets/wemux_template.erb +2 -2
- data/lib/tmuxinator/cli.rb +46 -7
- data/lib/tmuxinator/project.rb +13 -2
- data/lib/tmuxinator/tmux_version.rb +1 -0
- data/lib/tmuxinator/version.rb +1 -1
- data/lib/tmuxinator/window.rb +39 -5
- data/spec/fixtures/interface/basic.yml +14 -0
- data/spec/fixtures/interface/pane_titles.yml +11 -0
- data/spec/fixtures/interface/session_name.yml +5 -0
- data/spec/interface/debug_snapshot_spec.rb +65 -0
- data/spec/lib/tmuxinator/cli_spec.rb +117 -16
- data/spec/lib/tmuxinator/config_spec.rb +1 -0
- data/spec/lib/tmuxinator/project_spec.rb +89 -6
- data/spec/lib/tmuxinator/window_spec.rb +102 -6
- data/spec/snapshots/debug/1.6/basic.sh +73 -0
- data/spec/snapshots/debug/1.6/pane_titles.sh +61 -0
- data/spec/snapshots/debug/1.8/basic.sh +71 -0
- data/spec/snapshots/debug/1.8/pane_titles.sh +59 -0
- data/spec/snapshots/debug/2.6/basic.sh +74 -0
- data/spec/snapshots/debug/2.6/pane_titles.sh +60 -0
- data/spec/snapshots/debug/2.6/session_name.sh +53 -0
- metadata +27 -3
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
# Clear rbenv variables before starting tmux
|
|
5
|
+
unset RBENV_VERSION
|
|
6
|
+
unset RBENV_DIR
|
|
7
|
+
|
|
8
|
+
tmux start-server;
|
|
9
|
+
|
|
10
|
+
cd .
|
|
11
|
+
|
|
12
|
+
# Run on_project_start command.
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
# Run pre command.
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# Run on_project_first_start command.
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
tmux new-session -d -s home_arpa_lab -n main
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
# Create windows.
|
|
27
|
+
tmux new-window -k -t home_arpa_lab:0 -n main
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# Window "main"
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
tmux send-keys -t home_arpa_lab:0.0 echo\ ok C-m
|
|
35
|
+
|
|
36
|
+
tmux select-layout -t home_arpa_lab:0 tiled
|
|
37
|
+
|
|
38
|
+
tmux select-layout -t home_arpa_lab:0
|
|
39
|
+
tmux select-pane -t home_arpa_lab:0.0
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
tmux select-window -t home_arpa_lab:0
|
|
43
|
+
tmux select-pane -t home_arpa_lab:0.0
|
|
44
|
+
|
|
45
|
+
if [ -z "$TMUX" ]; then
|
|
46
|
+
tmux -u attach-session -t home_arpa_lab
|
|
47
|
+
else
|
|
48
|
+
tmux -u switch-client -t home_arpa_lab
|
|
49
|
+
fi
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
# Run on_project_exit command.
|
metadata
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tmuxinator
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Allen Bargi
|
|
8
8
|
- Christopher Chow
|
|
9
|
+
autorequire:
|
|
9
10
|
bindir: bin
|
|
10
11
|
cert_chain: []
|
|
11
|
-
date:
|
|
12
|
+
date: 2026-05-23 00:00:00.000000000 Z
|
|
12
13
|
dependencies:
|
|
13
14
|
- !ruby/object:Gem::Dependency
|
|
14
15
|
name: erubi
|
|
@@ -188,6 +189,9 @@ files:
|
|
|
188
189
|
- spec/fixtures/dot-tmuxinator/dup/local-dup.yml
|
|
189
190
|
- spec/fixtures/dot-tmuxinator/home.yml
|
|
190
191
|
- spec/fixtures/dot-tmuxinator/local-dup.yml
|
|
192
|
+
- spec/fixtures/interface/basic.yml
|
|
193
|
+
- spec/fixtures/interface/pane_titles.yml
|
|
194
|
+
- spec/fixtures/interface/session_name.yml
|
|
191
195
|
- spec/fixtures/nameless_window.yml
|
|
192
196
|
- spec/fixtures/noname.yml
|
|
193
197
|
- spec/fixtures/noroot.yml
|
|
@@ -203,6 +207,7 @@ files:
|
|
|
203
207
|
- spec/fixtures/xdg-tmuxinator/both.yml
|
|
204
208
|
- spec/fixtures/xdg-tmuxinator/xdg.yml
|
|
205
209
|
- spec/fixtures/yaml.yaml
|
|
210
|
+
- spec/interface/debug_snapshot_spec.rb
|
|
206
211
|
- spec/lib/tmuxinator/cli_spec.rb
|
|
207
212
|
- spec/lib/tmuxinator/config_spec.rb
|
|
208
213
|
- spec/lib/tmuxinator/doctor_spec.rb
|
|
@@ -214,6 +219,13 @@ files:
|
|
|
214
219
|
- spec/lib/tmuxinator/wemux_support_spec.rb
|
|
215
220
|
- spec/lib/tmuxinator/window_spec.rb
|
|
216
221
|
- spec/matchers/pane_matcher.rb
|
|
222
|
+
- spec/snapshots/debug/1.6/basic.sh
|
|
223
|
+
- spec/snapshots/debug/1.6/pane_titles.sh
|
|
224
|
+
- spec/snapshots/debug/1.8/basic.sh
|
|
225
|
+
- spec/snapshots/debug/1.8/pane_titles.sh
|
|
226
|
+
- spec/snapshots/debug/2.6/basic.sh
|
|
227
|
+
- spec/snapshots/debug/2.6/pane_titles.sh
|
|
228
|
+
- spec/snapshots/debug/2.6/session_name.sh
|
|
217
229
|
- spec/spec_helper.rb
|
|
218
230
|
homepage: https://github.com/tmuxinator/tmuxinator
|
|
219
231
|
licenses:
|
|
@@ -239,7 +251,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
239
251
|
- !ruby/object:Gem::Version
|
|
240
252
|
version: '2.7'
|
|
241
253
|
requirements: []
|
|
242
|
-
rubygems_version: 3.
|
|
254
|
+
rubygems_version: 3.5.22
|
|
255
|
+
signing_key:
|
|
243
256
|
specification_version: 4
|
|
244
257
|
summary: Create and manage complex tmux sessions easily.
|
|
245
258
|
test_files:
|
|
@@ -250,6 +263,9 @@ test_files:
|
|
|
250
263
|
- spec/fixtures/dot-tmuxinator/dup/local-dup.yml
|
|
251
264
|
- spec/fixtures/dot-tmuxinator/home.yml
|
|
252
265
|
- spec/fixtures/dot-tmuxinator/local-dup.yml
|
|
266
|
+
- spec/fixtures/interface/basic.yml
|
|
267
|
+
- spec/fixtures/interface/pane_titles.yml
|
|
268
|
+
- spec/fixtures/interface/session_name.yml
|
|
253
269
|
- spec/fixtures/nameless_window.yml
|
|
254
270
|
- spec/fixtures/noname.yml
|
|
255
271
|
- spec/fixtures/noroot.yml
|
|
@@ -265,6 +281,7 @@ test_files:
|
|
|
265
281
|
- spec/fixtures/xdg-tmuxinator/both.yml
|
|
266
282
|
- spec/fixtures/xdg-tmuxinator/xdg.yml
|
|
267
283
|
- spec/fixtures/yaml.yaml
|
|
284
|
+
- spec/interface/debug_snapshot_spec.rb
|
|
268
285
|
- spec/lib/tmuxinator/cli_spec.rb
|
|
269
286
|
- spec/lib/tmuxinator/config_spec.rb
|
|
270
287
|
- spec/lib/tmuxinator/doctor_spec.rb
|
|
@@ -276,4 +293,11 @@ test_files:
|
|
|
276
293
|
- spec/lib/tmuxinator/wemux_support_spec.rb
|
|
277
294
|
- spec/lib/tmuxinator/window_spec.rb
|
|
278
295
|
- spec/matchers/pane_matcher.rb
|
|
296
|
+
- spec/snapshots/debug/1.6/basic.sh
|
|
297
|
+
- spec/snapshots/debug/1.6/pane_titles.sh
|
|
298
|
+
- spec/snapshots/debug/1.8/basic.sh
|
|
299
|
+
- spec/snapshots/debug/1.8/pane_titles.sh
|
|
300
|
+
- spec/snapshots/debug/2.6/basic.sh
|
|
301
|
+
- spec/snapshots/debug/2.6/pane_titles.sh
|
|
302
|
+
- spec/snapshots/debug/2.6/session_name.sh
|
|
279
303
|
- spec/spec_helper.rb
|