FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Running `stop_all` triggers `sh` error · Issue #978 · tmuxinator/tmuxinator · GitHub

Running stop_all triggers sh error #978

Description

Describe the bug

When I run tmuxinator stop_all, it outputs an sh error for each session it closes:

$ mux stop_all
Stop all active projects:

flash

Are you sure? (n/y) y
sh: 1: [[: not found

To Reproduce

Start a tmuxinator session, then run tmuxinator stop_all. I believe it only applies when /bin/sh is a shell like dash.

Expected behavior

No error output, sessions close cleanly.

Environment

  • tmuxinator Version: 3.3.8
  • tmux Version: 3.4
  • Ruby Version: ruby 4.0.2 (2026-03-17 revision d3da9fec82) +PRISM [x86_64-linux]
  • OS: Linux Mint

Additional information

This appears to trace back to Util#current_session_name. Should it be using single braces?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL