a96b5a1d44
Merge pull request #50 from jimeh/fix-new_window-active-window-tracking
...
Fix new window active window tracking
2014-08-29 22:52:48 +01:00
fe3beeac29
Attempt to avoid timing issue which sometimes causes test to fail
2014-08-29 22:46:41 +01:00
ef0f25591c
Set $window var based on currently active window
...
Previously $window was only set by the new_window() helper when it was
passed a name argument. This caused weird behavior cause if it was
called without a name it would simply attempt to recreate the same
window and fail. That was until @blueyed's fix in 2249cf8 .
However, the $window var still wasn't being set correctly, leaving
split_v(), split_h() and other helpers to operate on the wrong
window. This is no longer an issue as $window is always set to the index
of the currently active window at the end of new_window() and
select_window().
2014-08-29 22:29:03 +01:00
0ae0bc84e3
Add __get_current_window_index internal helper function
2014-08-29 22:28:25 +01:00
Daniel Hahler
2249cf8d1b
new_window: only set $window and pass -n if a name is provided
...
Otherwise `new_window` after `new_window foo` would re-use the same
name, resulting in an error.
2014-08-29 20:20:07 +01:00
4bf105eebc
Improve wording of comment
2014-08-29 20:15:32 +01:00
71236afccf
Clean up structure of initialize_session helper function
2014-08-29 20:14:59 +01:00
6e5794a2b4
Add travis build status to readme
2014-08-29 19:33:38 +01:00
f8f0054c99
Merge pull request #46 from jimeh/add-tests
...
Add tests
2014-08-29 19:26:47 +01:00
6a1e9e4de7
Cleanup Makefile a bit
2014-08-21 01:54:05 +01:00
77ccb5d532
Clean up test a bit
2014-07-21 16:13:16 +01:00
48b5150b0d
Bump version to 0.11.5
v0.11.5
2014-07-21 16:08:22 +01:00
38932bf33e
Fix issue where EDITOR contains flags
2014-07-21 16:07:33 +01:00
d8b8dff61f
Add tests for new_window layout helper
2014-06-04 00:36:33 +01:00
d47838ca1f
Add and use test helpers to create/kill test-specific tmux sessions
2014-06-04 00:07:23 +01:00
87d767d1c5
Fix issue with PATH in test environment
2014-06-03 23:19:34 +01:00
1b0b3b8ba8
Add tests for __get_first_window_index layout helper
2014-06-03 20:31:41 +01:00
94b9559bfa
Use full tmux command names rather than aliases
2014-06-03 20:31:19 +01:00
636e92b118
Add tests for __go_to_window_or_session_path layout helper
2014-06-03 20:01:47 +01:00
8a06ad149e
Update test-runner.sh to v0.2.0
2014-06-03 20:01:31 +01:00
7e63149c26
Add tests for tmux layout helper
2014-05-26 20:20:39 +01:00
36add22637
Use test-runner.sh instead of homegrown test.sh
2014-05-26 13:52:55 +01:00
3aa151b865
Add tests for __go_to_session layout helper
2014-05-26 11:35:10 +01:00
f977850ea9
Add tests for __expand_path layout helper
2014-05-26 11:34:53 +01:00
47219d2d40
Improve test environment for individual test files
2014-05-26 11:28:28 +01:00
6e634ecba9
Update stub.sh
2014-05-26 11:28:16 +01:00
396120cf53
Add slight speed improvements for Travis-CI
2014-05-25 02:41:54 +01:00
a875b63033
Attempt to fix test failing with Tmux 1.6 and 1.7
2014-05-25 02:38:05 +01:00
0d0106e7ba
Attempt to run travis-ci tests against multiple versions of tmux
2014-05-25 02:34:13 +01:00
ed52353bba
Attempt to get tmux 1.8 on Travis-CI boxes
2014-05-25 01:42:09 +01:00
57b4f303f2
Install tmux on travis-ci.org
2014-05-25 01:32:27 +01:00
359f1a9a94
Use tput instead of hard-coded color codes
2014-05-25 01:32:07 +01:00
41218e3072
Colorize part of test output
2014-05-25 01:24:49 +01:00
5602bf650e
Add basic tests for tmuxifier-tmux
2014-05-25 01:24:30 +01:00
54f6f890bb
Add tests for lib/util.sh
2014-05-25 00:27:09 +01:00
e5ffdc6f16
A few further tweaks to how path handling in tests
2014-05-25 00:27:09 +01:00
1fb80660b8
Add tests for lib/runtime.sh
2014-05-25 00:27:09 +01:00
a700770757
Fix path related test setup issue
2014-05-25 00:27:09 +01:00
c927126cb3
Improve global test setup in test-helper.sh
2014-05-25 00:27:08 +01:00
279e68f7c5
Add tests for lib/env.sh
2014-05-25 00:27:08 +01:00
1bf087faa3
Basic setup for tests
...
Based on the test setup of stub.sh: https://github.com/jimeh/stub.sh
2014-05-25 00:27:08 +01:00
2aa549ff70
Bump version to 0.11.4
v0.11.4
2014-05-25 00:17:14 +01:00
6f0fdba121
Remove all argument handling from tmuxifier-tmux
...
It's meant to be a wrapper for tmux, allowing additional arguments to be
passed. Hence having the wrapper itself intercept -h as previously, or
--help as removed in this commit prevents the wrapper from working
properly.
2014-05-25 00:15:29 +01:00
a1e6972434
Bump version to 0.11.3
v0.11.3
2014-05-25 00:12:22 +01:00
7443dd74f8
Fix #45 - tmuxifier-tmux should not treat -h flag as output help
2014-05-25 00:12:17 +01:00
e08ee38927
Bump version to 0.11.2
v0.11.2
2014-05-15 14:10:53 +01:00
8416e63094
Merge pull request #38 from fritzgrabo/source-missing-utility-functions
...
Source missing utility functions in tmuxifier-tmux
2014-05-15 14:06:13 +01:00
Fritz Grabo
fe1ac9d2f9
Source missing utility functions in tmuxifier-tmux
2014-05-15 14:22:34 +02:00
87c38ae818
Bump version to 0.11.1
v0.11.1
2014-05-14 00:11:38 +01:00
3a74ff3a60
Minor tweaks and updates to a few help messages
2014-05-14 00:08:09 +01:00