You are not logged in.
When I changed my login shell from bash to zsh, tmux refused to run properly as it did before. It spat a brief
[exited]onto the terminal and did so. Even specifying multiple -v options was anything but informative. The client logfile tersely stated
client got 3
client got 4and that was all.
However, sudo tmux succeeded with a bash shell running in the tmux window. After some experiments, I found out, that a ~/.tmux.conf file, even if empty, will make tmux behave properly and start a window with a zsh instance. So
% touch ~/.tmux.confhelped to solve the problem.
Cheers
Gan
Offline
I just tested with zsh and no ~/.tmux.conf, and it worked just fine without one. Seems like something strange is going on on your system. Maybe something in /etc messing up?
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Maybe something in /etc messing up?
Do you have a configuration file in /etc? I don't.
EDIT:
I just moved my ~/.tmux.conf to ~/.tmux.confx and tmux still works---strange.
Last edited by ganainm (2012-03-21 19:40:56)
Offline
Anything in your .zshrc that would make tmux unhappy?
Offline
Nothing I am aware of. Anyway, why would an empty ~/.tmux.conf make that go away?
Offline
I was just curious. Did you tell tmux your were using zsh?
set-option -g default-shell /bin/zshOffline
No, I just created an empty config file and tmux was happy. I guess it gets the default shell from /etc/passwd.
Last edited by ganainm (2012-03-22 10:10:01)
Offline