8

I recently installed Tmux and became really glad for it. All of a sudden I though it would start throwing an error when I try to create a new session from within my terminal:

tmux new -s my-session

will cause the application to crash and only return

[exited]

and put the following on the next command line:

62;9;c

Being new to Tmux I have no idea how to fix this issue. Does anybody recognize this error and knows how to fix it?

13

Removing

set-option -g default-command "reattach-to-user-namespace -l zsh"

from the configuration fixed the problem for me.

| improve this answer | |
  • Seems to me as specific problem, Wasn't 62;9;c the line & column index in configuration file where error raised? – user.dz Apr 3 '14 at 8:54
  • Does this pinpoint the location in the config where it encountered an error? – Severin Apr 3 '14 at 9:01
  • I don't know, but I'm asking if you know? or you can confirm if so? – user.dz Apr 3 '14 at 9:21
  • 1
    Just checked and the error occured on line 27, so nothing to go on from 62;9;c – Severin Apr 3 '14 at 9:23
2

I ran into this problem, and the reason was that the shell path was wrong in my .tmux.conf

set -g default-shell /usr/local/bin/fish

It couldn't find the shell, so it crashed. You should probably check whether your default shell's path is correct.

| improve this answer | |
  • 1
    your answer isn't clear... what is the correct path? – User Aug 17 '15 at 8:24
  • use the command which to locate where the file is, for example: which fish – Syl Aug 19 '15 at 20:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.