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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1b06e623d6c02197262ff6d6241180088471cb6e
4
- data.tar.gz: 5ebb19b7d6b07d4e383a27641ae7749135aa9a4a
3
+ metadata.gz: c7cd1f3c563eee9b9981022927df6cf8c703ea9d
4
+ data.tar.gz: c8ced2615c6a557de62667d63b0c10c4d255ec0d
5
5
  SHA512:
6
- metadata.gz: f7ed48e3667e16bb099ee748b4eca69e756059509ea09e193a7eeeaeb98b4b5b5c3a7b00ffe3c1560a9b3463709810cdc7f10bc2aad502039f93b7d08e0b7d63
7
- data.tar.gz: a36db9dfdcbaf9407117907a32b9a0df592c89d45ea797bd80e46a6724b5a6c36c8b71a2fac5193321fe3b86f7e4a89f4d0b0222df43bdd2d253a1b46f382845
6
+ metadata.gz: 975db144ae961626c1e48eb9d1425a96b8b5ee11207d113c365de80c5f34a574b6014400268c718fe8ad5ba914628c8a125d396c723bb03d86209397d2e65384
7
+ data.tar.gz: 53e4ec5d574481f124be5befaab0dcb7219fd3484db427f5f989c1e560509c25e49b5e7a7dbbfca54a428bae67a749ea5800ac2610ac2c3db4ddc371e8b73046
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.6.2
2
+ - Also pass command line options to the `base_index` lookup.
3
+ - Fixed bug #116.
4
+
1
5
  ## 0.6.1
2
6
  - Remove stray binding.pry
3
7
  - Fix nil error when creating a new project.
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).
@@ -92,7 +92,7 @@ module Tmuxinator
92
92
  end
93
93
 
94
94
  def base_index
95
- `tmux start-server\\\; show-window-options -g | grep pane-base-index`.split(/\s/).last.to_i
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?
@@ -1,3 +1,3 @@
1
1
  module Tmuxinator
2
- VERSION = "0.6.1"
2
+ VERSION = "0.6.2"
3
3
  end
@@ -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: -v -2 # Pass arguments to tmux
9
+ cli_args: -f ~/.tmux.mac.conf # Pass arguments to tmux
10
10
  tabs:
11
11
  - editor:
12
12
  pre:
@@ -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: -v -2 # Pass arguments to tmux
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 " -v -2"
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 -v -2 -L foo send-keys -t sample:1 vim C-m"
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 -v -2 -L foo send-keys -t sample:1 vim C-m"
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tmuxinator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Allen Bargi