5050- Assure ``$ tmuxp freeze `` works with ``start_directory `` and does not
5151 return commands with dir and no CD's. (esp with zsh).
5252
53-
54- Future
55- ------
53+ .. _ 0.2 milestone :
54+ 0.2 milestone
55+ -------------
5656
5757- Automatically grab ``[-L socket-name] `` and ``[-S socket-path] ``
5858 from where tmuxp was ran. ``os.environ.get('$TMUX') ``.
@@ -61,6 +61,35 @@ Future
6161
6262 Or, As an alternative, create a mapping that pipes commands right into
6363 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+
6493
6594.. _pep257 : http://www.python.org/dev/peps/pep-0257/
6695.. _pep8 : http://www.python.org/dev/peps/pep-0008/
0 commit comments