tmuxinator 3.3.7 → 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/completion/tmuxinator.fish +1 -0
- data/completion/tmuxinator.zsh +1 -1
- 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 -5
|
@@ -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,15 +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
|
+
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2026-05-23 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: erubi
|
|
@@ -189,6 +189,9 @@ files:
|
|
|
189
189
|
- spec/fixtures/dot-tmuxinator/dup/local-dup.yml
|
|
190
190
|
- spec/fixtures/dot-tmuxinator/home.yml
|
|
191
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
|
|
192
195
|
- spec/fixtures/nameless_window.yml
|
|
193
196
|
- spec/fixtures/noname.yml
|
|
194
197
|
- spec/fixtures/noroot.yml
|
|
@@ -204,6 +207,7 @@ files:
|
|
|
204
207
|
- spec/fixtures/xdg-tmuxinator/both.yml
|
|
205
208
|
- spec/fixtures/xdg-tmuxinator/xdg.yml
|
|
206
209
|
- spec/fixtures/yaml.yaml
|
|
210
|
+
- spec/interface/debug_snapshot_spec.rb
|
|
207
211
|
- spec/lib/tmuxinator/cli_spec.rb
|
|
208
212
|
- spec/lib/tmuxinator/config_spec.rb
|
|
209
213
|
- spec/lib/tmuxinator/doctor_spec.rb
|
|
@@ -215,6 +219,13 @@ files:
|
|
|
215
219
|
- spec/lib/tmuxinator/wemux_support_spec.rb
|
|
216
220
|
- spec/lib/tmuxinator/window_spec.rb
|
|
217
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
|
|
218
229
|
- spec/spec_helper.rb
|
|
219
230
|
homepage: https://github.com/tmuxinator/tmuxinator
|
|
220
231
|
licenses:
|
|
@@ -233,7 +244,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
233
244
|
requirements:
|
|
234
245
|
- - ">="
|
|
235
246
|
- !ruby/object:Gem::Version
|
|
236
|
-
version: '2.
|
|
247
|
+
version: '2.6'
|
|
237
248
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
238
249
|
requirements:
|
|
239
250
|
- - ">="
|
|
@@ -241,7 +252,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
241
252
|
version: '2.7'
|
|
242
253
|
requirements: []
|
|
243
254
|
rubygems_version: 3.5.22
|
|
244
|
-
signing_key:
|
|
255
|
+
signing_key:
|
|
245
256
|
specification_version: 4
|
|
246
257
|
summary: Create and manage complex tmux sessions easily.
|
|
247
258
|
test_files:
|
|
@@ -252,6 +263,9 @@ test_files:
|
|
|
252
263
|
- spec/fixtures/dot-tmuxinator/dup/local-dup.yml
|
|
253
264
|
- spec/fixtures/dot-tmuxinator/home.yml
|
|
254
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
|
|
255
269
|
- spec/fixtures/nameless_window.yml
|
|
256
270
|
- spec/fixtures/noname.yml
|
|
257
271
|
- spec/fixtures/noroot.yml
|
|
@@ -267,6 +281,7 @@ test_files:
|
|
|
267
281
|
- spec/fixtures/xdg-tmuxinator/both.yml
|
|
268
282
|
- spec/fixtures/xdg-tmuxinator/xdg.yml
|
|
269
283
|
- spec/fixtures/yaml.yaml
|
|
284
|
+
- spec/interface/debug_snapshot_spec.rb
|
|
270
285
|
- spec/lib/tmuxinator/cli_spec.rb
|
|
271
286
|
- spec/lib/tmuxinator/config_spec.rb
|
|
272
287
|
- spec/lib/tmuxinator/doctor_spec.rb
|
|
@@ -278,4 +293,11 @@ test_files:
|
|
|
278
293
|
- spec/lib/tmuxinator/wemux_support_spec.rb
|
|
279
294
|
- spec/lib/tmuxinator/window_spec.rb
|
|
280
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
|
|
281
303
|
- spec/spec_helper.rb
|