.tmux: 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration' returned 1

Created on 11 Nov 2020  路  9Comments  路  Source: gpakosz/.tmux

.tmux: 8c342ed
tmux version: 3.1b
run cut -c3- ~/.tmux.conf | sh -sx _apply_configuration > tmp.txt 2>&1 inside tmux , the last line is:

command too long
branch available bug waiting for feedback

Most helpful comment

protocol version mismatch (client 7, server 8)

This means you have a tmux server process running that's older than the tmux client process.
Make sure you kill all tmux process and restart.

All 9 comments

Hello @thylakoids 馃憢

Can you please paste the whole content of $ cut -c3- ~/.tmux.conf | sh -sx _apply_configuration?

cut -c3- ~/.tmux.conf | sh -sx _apply_configuration > tmp.txt 2>&1:
tmp.txt

I wonder if it is related to the platform. The .tmux config works fine on ubuntu, mac, but got the issue on centos.

Can you please give me the exact CentOS version for reference?

The gh-425 should fix it. Can you please give it a try?

Thanks for your reply.

  1. The exact OS version:

    $ lsb_release -a
    LSB Version:    :core-4.1-amd64:core-4.1-noarch
    Distributor ID: CentOS
    Description:    CentOS Linux release 7.6.1810 (Core)
    Release:    7.6.1810
    Codename:   Core
    
  2. I tried gh-425, it does not work, the output was different though.

    cut -c3- ~/.tmux.conf | sh -sx _apply_configuration > tmp.txt 2>&1:

    tmp.txt

protocol version mismatch (client 7, server 8)

This means you have a tmux server process running that's older than the tmux client process.
Make sure you kill all tmux process and restart.

Thanks for the help, I will try it later(There are other users on this computer) and tell you the result.

After reinstall tmux, now it works boths on gh-425 and 8c342ed.

Thanks for the help.

Interesting that you don't face the command too long anymore 馃

The new version of tmux is 2.8. Does this relate?

I am not a sudo user on that server, it's hard for me to try every combination to debug the problem.
If I ever had the chance, I'll reproduce it and let you know.:smile:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AtomicCoding picture AtomicCoding  路  3Comments

ww7 picture ww7  路  4Comments

nikolayzhmurov picture nikolayzhmurov  路  5Comments

nick-bull picture nick-bull  路  8Comments

luisdavim picture luisdavim  路  6Comments