10

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?

14

Removing

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

from the configuration fixed the problem for me.

4
  • 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
3

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.

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

First, I uninstalled tmux and removed its config file .tmux.conf. The thing that worked for me was deleting tmp/tmux-1000 directory, and then installing tmux again. It seemed to me that tmux was using the default file present in tmp/tmux-1000 directory every time it was being started and very importantly this directory is not being deleted on uninstalling tmux

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.