tmuxinator 0.6.1 → 0.6.2
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/CHANGELOG.md +4 -0
- data/README.md +6 -0
- data/lib/tmuxinator/project.rb +1 -1
- data/lib/tmuxinator/version.rb +1 -1
- data/spec/fixtures/sample.deprecations.yml +1 -1
- data/spec/fixtures/sample.yml +1 -1
- data/spec/lib/tmuxinator/project_spec.rb +3 -3
- 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: c7cd1f3c563eee9b9981022927df6cf8c703ea9d
|
|
4
|
+
data.tar.gz: c8ced2615c6a557de62667d63b0c10c4d255ec0d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 975db144ae961626c1e48eb9d1425a96b8b5ee11207d113c365de80c5f34a574b6014400268c718fe8ad5ba914628c8a125d396c723bb03d86209397d2e65384
|
|
7
|
+
data.tar.gz: 53e4ec5d574481f124be5befaab0dcb7219fd3484db427f5f989c1e560509c25e49b5e7a7dbbfca54a428bae67a749ea5800ac2610ac2c3db4ddc371e8b73046
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -176,6 +176,12 @@ Shows tmuxinator's version.
|
|
|
176
176
|
$ tmuxinator version
|
|
177
177
|
```
|
|
178
178
|
|
|
179
|
+
## FAQ
|
|
180
|
+
|
|
181
|
+
### Window names are not displayed properly?
|
|
182
|
+
|
|
183
|
+
Add `export DISABLE_AUTO_TITLE=true` to your `.zshrc` or `.bashrc`
|
|
184
|
+
|
|
179
185
|
## Contributing
|
|
180
186
|
|
|
181
187
|
To contribute, please read the [contributing guide](https://github.com/aziz/tmuxinator/blob/master/CONTRIBUTING.md).
|
data/lib/tmuxinator/project.rb
CHANGED
|
@@ -92,7 +92,7 @@ module Tmuxinator
|
|
|
92
92
|
end
|
|
93
93
|
|
|
94
94
|
def base_index
|
|
95
|
-
|
|
95
|
+
`#{tmux} start-server\\\; show-window-options -g | grep pane-base-index`.split(/\s/).last.to_i
|
|
96
96
|
end
|
|
97
97
|
|
|
98
98
|
def tmux_options?
|
data/lib/tmuxinator/version.rb
CHANGED
|
@@ -6,7 +6,7 @@ project_root: ~/test
|
|
|
6
6
|
socket_name: foo # Remove to use default socket
|
|
7
7
|
pre: sudo /etc/rc.d/mysqld start # Runs before everything
|
|
8
8
|
rbenv: 2.0.0-p247
|
|
9
|
-
cli_args: -
|
|
9
|
+
cli_args: -f ~/.tmux.mac.conf # Pass arguments to tmux
|
|
10
10
|
tabs:
|
|
11
11
|
- editor:
|
|
12
12
|
pre:
|
data/spec/fixtures/sample.yml
CHANGED
|
@@ -6,7 +6,7 @@ root: ~/test
|
|
|
6
6
|
socket_name: foo # Remove to use default socket
|
|
7
7
|
pre: sudo /etc/rc.d/mysqld start # Runs before everything
|
|
8
8
|
pre_window: rbenv shell 2.0.0-p247 # Runs in each tab and pane
|
|
9
|
-
tmux_options: -
|
|
9
|
+
tmux_options: -f ~/.tmux.mac.conf # Pass arguments to tmux
|
|
10
10
|
windows:
|
|
11
11
|
- editor:
|
|
12
12
|
pre:
|
|
@@ -130,7 +130,7 @@ describe Tmuxinator::Project do
|
|
|
130
130
|
end
|
|
131
131
|
|
|
132
132
|
it "still gets the tmux options" do
|
|
133
|
-
expect(project_with_deprecations.tmux_options).to eq " -
|
|
133
|
+
expect(project_with_deprecations.tmux_options).to eq " -f ~/.tmux.mac.conf"
|
|
134
134
|
end
|
|
135
135
|
end
|
|
136
136
|
end
|
|
@@ -174,7 +174,7 @@ describe Tmuxinator::Project do
|
|
|
174
174
|
|
|
175
175
|
context "command for window is not empty" do
|
|
176
176
|
it "returns the tmux command" do
|
|
177
|
-
expect(project.send_keys("vim", 1)).to eq "tmux -
|
|
177
|
+
expect(project.send_keys("vim", 1)).to eq "tmux -f ~/.tmux.mac.conf -L foo send-keys -t sample:1 vim C-m"
|
|
178
178
|
end
|
|
179
179
|
end
|
|
180
180
|
end
|
|
@@ -188,7 +188,7 @@ describe Tmuxinator::Project do
|
|
|
188
188
|
|
|
189
189
|
context "command for pane is not empty" do
|
|
190
190
|
it "returns the tmux command" do
|
|
191
|
-
expect(project.send_pane_command("vim", 1, 0)).to eq "tmux -
|
|
191
|
+
expect(project.send_pane_command("vim", 1, 0)).to eq "tmux -f ~/.tmux.mac.conf -L foo send-keys -t sample:1 vim C-m"
|
|
192
192
|
end
|
|
193
193
|
end
|
|
194
194
|
end
|