-
Is it possible for tmuxp to work with a tmux config in a "nonstandard" location? I like to keep my configs in #!/bin/bash
tmux -f "${XDG_CONFIG_HOME}"/tmux/config "${@}" causes I spent about 15 minutes reading through the source code and I couldn't find where to make any changes for this issue/feature. With a suggestion, I am willing to implement this myself. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
@jfindlay This is a really good catch. As of 1.6 / 1.7 master:
We'd do it in We can accept an Lines 918 to 950 in 0d6a0eb Lines 979 to 994 in 0d6a0eb Lines 575 to 584 in 0d6a0eb The good news is, Do you want to give this a shot @jfindlay? It may be a good first issue |
Beta Was this translation helpful? Give feedback.
@jfindlay This is a really good catch. As of 1.6 / 1.7 master:
tmuxp
commands (e.g.tmuxp load
) don't pass through the-f
(tmux config file) totmux
.tmuxp
already passes through-2
(256 colors),-8
,-L
(socket_name),-S
(socket_path) totmux
We'd do it in
cli.py
incommand_load
(CLI entrypoint) andload_workspace
.We can accept an
-f / --file
as an arg. We'd need to do this att = Server
so thelibtmux
client used refers to the tmux config file:tmuxp/tmuxp/cli.py
Lines 918 to 950 in 0d6a0eb