1f81e98e73
Add send_keys examples to window layout template
2012-06-27 21:40:59 +01:00
5989b1f516
Add send_keys layout helper
2012-06-27 21:39:54 +01:00
012526656e
Remove send-keys -l support check as it is not needed
...
After some experimentation it turns out that if input to send-keys is
not a known key sequence like `C-m` or `C-l` for example, it it
automatically treated as literal input.
Negating the need to use it and hence check if it's supported.
2012-06-27 21:29:29 +01:00
b2857b7df9
Merge pull request #4 from trobrock/no-l-flag
...
Support tmux versions that do not have the -l flag
2012-06-27 13:08:12 -07:00
Trae Robrock
8df639ae47
Merge branch 'no-l-flag'
2012-06-26 16:36:17 -07:00
Trae Robrock
75ae3ba142
Support tmux versions that do not have the -l flag
2012-06-26 16:35:23 -07:00
c862df2d82
Merge pull request #2 from greeneca/current_session_fix
...
fixed current session script
2012-06-04 11:52:19 -07:00
Charlie Greene
c06df475be
fixed current session script
2012-06-04 14:25:02 -03:00
10104b7412
Update example window layout file with new helpers
2012-05-24 01:02:53 +01:00
3fa749dbf3
Update example in readme with new layout helpers
2012-05-24 00:58:48 +01:00
f8c0c8c749
Bump version to 0.2.1
v0.2.1
2012-05-24 00:53:50 +01:00
147db787d5
Add completion to new-session and new-window commands
...
Complete names of existing sessions and windows for the `new` commands,
enabling easier creation of similarly named layouts.
2012-05-24 00:53:20 +01:00
4477b69f7a
Bump version to 0.2.0
v0.2.0
2012-05-24 00:42:37 +01:00
71303c8eba
Update window template with new layout helpers
2012-05-24 00:42:36 +01:00
89325d0982
Add new layout helper functions for pane creation and command execution
2012-05-24 00:42:35 +01:00
8155740ceb
Fix window specific root path
...
If a session root was set, any window layouts loaded with a window root
set caused the window root to be ignored. This resolves the issue.
2012-05-24 00:42:34 +01:00
ae70bae022
Reorganize functions a bit
2012-05-24 00:42:31 +01:00
a8ff37808a
Clean up the code a bit
2012-05-24 00:41:37 +01:00
12100e7f79
Ensure default layouts directory exists after fresh git clone
2012-04-30 17:05:47 +01:00
98b50afb37
Bump version to 0.1.3
v0.1.3
2012-04-30 02:18:57 +01:00
99bd6a9bd5
Improve error output from edit-session and edit-window commands
2012-04-30 02:15:50 +01:00
5a0e4c912c
Remove useless piece of code left from "borrowing" it from rbenv
2012-04-30 02:15:22 +01:00
178bbdecff
Make better use of conditional operators and quote vars properly
2012-04-30 02:14:52 +01:00
1fc854dbdd
Move internal runtime functions to layout-helpers.sh file
2012-04-30 02:12:01 +01:00
addb754ac7
Use new tmuxifier-resolve-command-path everywhere
2012-04-30 02:10:43 +01:00
3063c6f1f3
Correctly resolve aliases in help command.
...
This resolves issue #1 .
2012-04-30 02:08:40 +01:00
7d2c9aa49f
Bump version to 0.1.2
v0.1.2
2012-04-26 08:52:02 +01:00
b65355a35a
Boolean logic is hard (and buggy? wtf?)
...
Fixed a bug with alias resolution not working, for reasons that are
currently beyond my understanding of shell scripting it would seem.
2012-04-26 08:51:49 +01:00
8e21664439
Bump version to 0.1.1
v0.1.1
2012-04-26 08:29:39 +01:00
d4dfe39037
Improve how return value of certain commands are checked
2012-04-26 02:41:13 +01:00
b0b8d29d27
Make tmuxifier-alias return 1 when no alias is matched
2012-04-26 02:28:03 +01:00
855c522cf0
Avoid exiting with a cleaner syntax for commands that might fail
2012-04-26 02:22:40 +01:00
0d3cfb2494
Improve new_window helper function's internals
2012-04-26 02:10:30 +01:00
60e92c35e8
Improve readme formatting
2012-04-26 00:40:45 +01:00
1e50f0c2c3
Expand usage section in readme
2012-04-26 00:38:03 +01:00
a9e236d786
Bump version to 0.1.0
...
Initial version bump. From this point on I'll be trying to stick to
Semantic Versioning as much as I can.
v0.1.0
2012-04-25 23:55:02 +01:00
5d78ff1568
Update readme
2012-04-25 23:50:18 +01:00
6fb77febec
Update session layout example
2012-04-25 23:41:14 +01:00
a67d964b8a
Add select_window example to session layout template
2012-04-25 23:40:44 +01:00
ebc1d9c31e
Move layout-helpers.sh to lib/layout-helpers.sh
2012-04-25 23:27:31 +01:00
5c27adf396
Add select_window layout helper
2012-04-25 23:25:07 +01:00
00a4f586b3
Add some documentation to layout helper functions
2012-04-25 23:24:48 +01:00
f305cc31d7
Update new_window helper's handling of window name and init command
...
New behavior of `new_window` helper:
- When no argument is specified no specific window name is set.
- Second argument added to pass a shell command to be executed.
If a shell command is needed, but no window name is desired, pass an
empty string `""` as the first argument.
2012-04-25 23:03:41 +01:00
1cd0c33333
Prevent $session and $window from leaking out of layout files
2012-04-25 22:57:55 +01:00
9f57a9663a
cd to $session_root as well as setting Tmux's default-path
2012-04-25 22:56:58 +01:00
83744f77a7
Set commented out example of root path to new window/session name
2012-04-25 22:54:17 +01:00
a8aaf43c72
Replace all occurrences of window and session name placeholders in templates
2012-04-25 22:53:40 +01:00
66cec3a6ec
Add super-quick "Quick Start" section to readme
2012-04-25 01:14:46 +01:00
ffe9327758
Add various checks to print something useful when things go wrong
2012-04-25 01:01:09 +01:00
96b8abf1cb
Update readme
2012-04-25 00:59:57 +01:00