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?
Reactions are currently unavailable
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 foundTo 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
Additional information
This appears to trace back to Util#current_session_name. Should it be using single braces?