From 9bd16f23cd3215999deba86ec9edba4dca974ec6 Mon Sep 17 00:00:00 2001 From: Shuai Lin Date: Tue, 26 Feb 2019 17:51:05 +0800 Subject: [PATCH 1/2] Added support for -f flag to use non-default tmux config file --- tmuxp/cli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tmuxp/cli.py b/tmuxp/cli.py index 9605e5d0eca..ec31f4f459b 100644 --- a/tmuxp/cli.py +++ b/tmuxp/cli.py @@ -561,6 +561,8 @@ def load_workspace( ``tmux -S `` new_session_name: str, options ``tmux new -s `` + tmux_config_file: str, optional + ``tmux -f `` colors : str, optional '-2' Force tmux to support 256 colors From fdb5cc6b9cb12dc6985c1d6ee4f4ab0b778cc4d3 Mon Sep 17 00:00:00 2001 From: Tony Narlock Date: Sat, 5 Feb 2022 11:54:20 -0600 Subject: [PATCH 2/2] Update CHANGES for #734/479 --- CHANGES | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGES b/CHANGES index ef996eff670..5d524794a1a 100644 --- a/CHANGES +++ b/CHANGES @@ -6,6 +6,13 @@ #### What's new +- #479: Support loading tmux server with config file by passing `-f` + + Note: This matches the behavior of `tmux`'s `-f`, the configuration will only + once when the server is started. If you need to apply source to a server after + it is running then use `tmux source-file`. + + Credit: @lins05, via #734 - #672: Panes now accept `shell` for their initial command. Equivalent to `tmux split-windows`'s `[shell-command]`