50
50
- Assure ``$ tmuxp freeze `` works with ``start_directory `` and does not
51
51
return commands with dir and no CD's. (esp with zsh).
52
52
53
-
54
- Future
55
- ------
53
+ .. _ 0.2 milestone :
54
+ 0.2 milestone
55
+ -------------
56
56
57
57
- Automatically grab ``[-L socket-name] `` and ``[-S socket-path] ``
58
58
from where tmuxp was ran. ``os.environ.get('$TMUX') ``.
@@ -61,6 +61,35 @@ Future
61
61
62
62
Or, As an alternative, create a mapping that pipes commands right into
63
63
tmux like a layer cake.
64
+ - $ tmuxp shortened CLI completion:
65
+ - <session-name>
66
+ - <config-file (minus extension)> yaml, json
67
+
68
+ - current dir
69
+ - config dir
70
+
71
+ Will be able to attach sessions, load configs without an additional
72
+ command. If ``~/.tmuxp/hello.yaml `` exists,
73
+
74
+ ``tmuxp <tab> `` will tab-complete and allow ``$ tmuxp hello `` to load
75
+ the yaml config.
76
+
77
+ If ``~/.tmuxp/hello.json `` exists also, 'hello.json' and 'hello.yaml'
78
+ will be available.
79
+
80
+ If ``.tmuxp.yaml `` exists in current directory, ``. `` will be an
81
+ option. If ``.tmuxp.json `` exists also, ``.tmuxp.json `` and
82
+ ``.tmuxp.yaml `` will have to be entered.
83
+
84
+ If ``hello.json `` exists in config directory and ``hello `` is a session
85
+ name, autocomplete will offer both, ``hello `` attaches that session,
86
+ ``hello.json `` will attempt to load the file (which may have a
87
+ different ``session_name ``. If the filename and session name are the
88
+ same, it will still offer to attach.
89
+
90
+ ``$ tmuxp .<tab> `` will start autocompletion searching for YAML and
91
+ JSON configs in cwd, as will ``$ tmuxp ..<tab> `` and ``$ tmuxp / ``.
92
+
64
93
65
94
.. _pep257 : http://www.python.org/dev/peps/pep-0257/
66
95
.. _pep8 : http://www.python.org/dev/peps/pep-0008/
0 commit comments