mode
cyber-mux mode
Section titled “cyber-mux mode”Print just the detected backend name: tmux, herdr, wezterm (alpha), zellij (alpha), or
none. The one-line version of doctor for scripts that only need the
backend name.
Examples
Section titled “Examples”cyber-mux mode# tmux# Branch a script on the backendif [ "$(cyber-mux mode)" = "none" ]; then echo "not inside a multiplexer"fi