You are not logged in.

#1 2012-03-21 13:53:07

ganainm
Member
Registered: 2012-01-19
Posts: 8

tmux: ~/.tmux.conf required for non-standard shell

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 4

and 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.conf

helped to solve the problem.

Cheers

Gan

Offline

#2 2012-03-21 14:11:37

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: tmux: ~/.tmux.conf required for non-standard shell

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

#3 2012-03-21 14:17:15

ganainm
Member
Registered: 2012-01-19
Posts: 8

Re: tmux: ~/.tmux.conf required for non-standard shell

Mr.Elendig wrote:

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

#4 2012-03-21 19:45:14

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: tmux: ~/.tmux.conf required for non-standard shell

Anything in your .zshrc that would make tmux unhappy?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2012-03-21 20:53:02

ganainm
Member
Registered: 2012-01-19
Posts: 8

Re: tmux: ~/.tmux.conf required for non-standard shell

Nothing I am aware of.  Anyway, why would an empty ~/.tmux.conf make that go away?

Offline

#6 2012-03-21 20:58:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: tmux: ~/.tmux.conf required for non-standard shell

I was just curious. Did you tell tmux your were using zsh?

set-option -g default-shell /bin/zsh

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2012-03-21 21:28:21

ganainm
Member
Registered: 2012-01-19
Posts: 8

Re: tmux: ~/.tmux.conf required for non-standard shell

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

Board footer

Powered by FluxBB