-
|
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:
tmuxpcommands (e.g.tmuxp load) don't pass through the-f(tmux config file) totmux.tmuxpalready passes through-2(256 colors),-8,-L(socket_name),-S(socket_path) totmuxWe'd do it in
cli.pyincommand_load(CLI entrypoint) andload_workspace.We can accept an
-f / --fileas an arg. We'd need to do this att = Serverso thelibtmuxclient used refers to the tmux config file:tmuxp/tmuxp/cli.py
Lines 918 to 950 in 0d6a0eb