@@ -45,12 +45,6 @@ Save as *mysession.yaml*, and load:
45
45
46
46
$ tmuxp load ./mysession.yaml
47
47
48
- Sessions in *~/.tmuxp/ * can use names:
49
-
50
- .. code-block :: sh
51
-
52
- $ tmuxp load mysession
53
-
54
48
Projects with *.tmuxp.yaml * or *.tmuxp.json * load via directory:
55
49
56
50
.. code-block :: sh
@@ -65,15 +59,35 @@ Load multiple at once (in bg, offer to attach last):
65
59
66
60
`simple `_ and `very elaborate `_ config examples
67
61
68
- Store configs in (*~/.tmuxp *) or include in your project as
69
- *~/.tmuxp.{yaml,json} *. See `author's tmuxp configs `_ and the
70
- the projects' `tmuxp.yaml `_.
62
+ User-level configurations
63
+ -------------------------
64
+ tmuxp checks for configs in user directories:
65
+
66
+ - ``$TMUXP_CONFIGDIR ``, if set
67
+ - ``$XDG_CONFIG_HOME ``, usually *$HOME/.config/tmuxp/ *
68
+ - ``$HOME/.tmuxp/ ``
69
+
70
+ Load your tmuxp config from anywhere by using the filename, assuming
71
+ *~/.config/tmuxp/mysession.yaml * (or *.json *):
71
72
73
+ .. code-block :: sh
74
+
75
+ $ tmuxp load mysession
76
+
77
+ See `author's tmuxp configs `_ and the projects' `tmuxp.yaml `_.
78
+
79
+ Pre-load hook
80
+ -------------
72
81
Run custom startup scripts (such as installing project dependencies before
73
82
loading tmux. See the `bootstrap_env.py `_ and `before_script `_ example
74
83
84
+ Load in detached state
85
+ ----------------------
75
86
You can also load sessions in the background by passing ``-d `` flag
76
87
88
+ Screenshot
89
+ ----------
90
+
77
91
.. image :: https://raw.github.com/tmux-python/tmuxp/master/doc/_static/tmuxp-demo.gif
78
92
:scale: 100%
79
93
:width: 45%
0 commit comments