Skip to content

fzf --tmux fails silently when run using tmux run-shell #4359

@romhml

Description

@romhml

Checklist

  • I have read through the manual page (man fzf)
  • I have searched through the existing issues
  • For bug reports, I have checked if the bug is reproducible in the latest version of fzf

Output of fzf --version

0.61.2 (brew)

OS

  • Linux
  • macOS
  • Windows
  • Etc.

Shell

  • bash
  • zsh
  • fish

Problem / Steps to reproduce

fzf --tmux exits prematurely when run from tmux run-shell since 0.61.2. This can be reproduced by running tmux run-shell "fzf --tmux".

This seems related to this change: af8fe91

Note that running tmux run-shell "TMUX_PANE=1 fzf --tmux" works as expected.

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