Skip to content

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.

Terminal window
cyber-mux mode
# tmux
Terminal window
# Branch a script on the backend
if [ "$(cyber-mux mode)" = "none" ]; then
echo "not inside a multiplexer"
fi