Skip to content

Sequential operator ; not respected when chaining commands #192

@maciakl

Description

@maciakl

I have the following line in my .tmux.conf:

bind R source-file ~/.tmux.conf \; display "Reloaded tmux config..."

It does not work as expected. It appears that psmux only ever executes the first command and ignores everything after ;

Expected behavior:

Pressing prefix+R causes two actions:

  • the ~\.tmux.conf file is sourced and the config changes are applied
  • a message is displayed in the status bar

Actual behavior

Config is sourced as expected, but the message is never displayed.

Environment

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

Edit

Edited to add that the same behavior is observed when trying to chain commands using the prefix+: method.

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