Skip to content

The source-file command does not work when run from within psmux session #145

@maciakl

Description

@maciakl

Steps to Reproduce

  • Start a new session
  • Make changes to ~\.tmux.conf and save the file
  • Press Prefix : to bring up the command box
  • Type in source-file ~\.tmux.conf

Expected Behavior

The configuration file is re-loaded, and the changes are applied immediately.

Actual Behavior

Nothing happens. The only way to make psmux re-load the config file and apply the changes is to issue the kill-server command.

Workaround

This works:

  • Detach from session
  • Run psmux source-file ~\.tmux.conf
  • Re-attach

Changes are reflected.

It would be nice to be able to do this from within a psmux session. On Mac/Linux I have Prefix R bound to source-file ~/.tmux.conf and can tweak my config and see the results immediately.

Environment

  • Win 11 25H2
  • Windows Terminal Version: 1.23.20211.0
  • PowerShell 7.6.0
  • OhMyPosh 29.9.0
  • psmux 3.3 (installed via scoop)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions