Commit Graph

66 Commits

Author SHA1 Message Date
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
2d4c43e737 Update readme 2012-04-25 00:41:02 +01:00
c23af83df2 For sanity's sake 2012-04-25 00:25:45 +01:00
b0af14efa4 Update example files 2012-04-25 00:25:32 +01:00
d2122044ee Make layout API-interface a bit simpler
Additionally, also fix a bug when creating a window, where as if the
session name was the same as a window that already existed, it would
fail, accidentally using the window rather than the session at a target.
2012-04-25 00:25:11 +01:00
36b2efd5c9 Use help command to print usage info in completions command 2012-04-22 19:39:05 +01:00
2ffccb1d96 Add info about more commands to help command 2012-04-22 19:38:19 +01:00
82ab5b47a7 Remove alias info when calling help on an alias 2012-04-22 19:37:27 +01:00
b81bdde8bb Provide shell-completion for the completions command, cause why not? 2012-04-22 19:36:07 +01:00
2ba53640cd Update help and error messages with more details 2012-04-22 19:07:15 +01:00
7bebd6fac9 Reorganize alias command slightly 2012-04-22 19:05:59 +01:00
40c0d76c63 Update warning section in readme 2012-04-22 18:13:08 +01:00
2b70cb08c4 Update readme 2012-04-22 18:08:56 +01:00
77bba790df Add complete license to readme, and license file 2012-04-22 18:08:29 +01:00
e159af1f51 Add session example and screenshot 2012-04-22 17:46:11 +01:00
54479c7bcf Add todo section to readme 2012-04-22 17:02:30 +01:00