I just installed tmux (a terminal multiplexer) with homebrew. When I try to run it, it always exits with [exited]
Nothing shows up.
When I try to run tmux list-session
I get an error:
failed to connect to server: Connection refused
I tried running tmux start-server
, but again nothing happens.
What can I do?
default-command
anddefault-shell
options. If tmux is having trouble running your default command (or shell) it will respond like you are describing. For further investigation, you can use do something liketmux new /bin/zsh
to explicitly start with (e.g.)/bin/zsh
instead of relying ondefault-command
ordefault-shell
.tmux new /bin/zsh
worked for me. Thank you.default-shell
ordefault-command
setting.mv $HOME/.tmux.conf $HOME/.tmux.conf.backup
and see if tmux starts. @ChrisJohnsen is right, your solution simply means that there is a bug afoot.