Skip to content

Added support for -f flag to use non-default tmux config file #734

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -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]`
Expand Down
2 changes: 2 additions & 0 deletions tmuxp/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,8 @@ def load_workspace(
``tmux -S <socket-path>``
new_session_name: str, options
``tmux new -s <new_session_name>``
tmux_config_file: str, optional
``tmux -f <config-file>``
colors : str, optional
'-2'
Force tmux to support 256 colors
Expand Down