.tmux: Getting invalid or unknown command bind-key -T in tmux 2.8

Created on 1 Dec 2019  路  6Comments  路  Source: gpakosz/.tmux

Steps:

  1. Updated the repo with git pull
  2. Started a new tmux session with tmux new-session -s name

Expected:

tmux session starts without errors

Actual:

Got the following error:

/tmp/tmp.1ztDiEo2jg:9: invalid or unknown command: bind-key    -T prefix       "                 split-window -c '#{pane_current_path}'

Hitting CTRL+C on it will continue with the creation of the tmux session. Attaching to the session shows no error. Creating new panes works.

Additional Info

  • OS Version: Ubuntu 19.04
  • tmux Version: tmux 2.8 (latest in apt)
  • Shell: zsh

Note: I have not yet tried to install tmux 3.0 to see if it repros there, but it _is_ worth mentioning that 2.8 is the version supplied by apt install tmux.

bug

All 6 comments

Can you please tell me which commit you're using?

1cf813f, current master.

git checkout master^ to return to one commit behind the current one works. I see no error when starting the session.

I had also forgot to mention that despite the error, hitting CTRL+C will continue with the session, although I suspect some bindings wouldn't work.

fixed, sorry I was tired yesterday and pushed crap 馃槓

Confirmed! Thank you :)

You're welcome, enjoy!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

obitech picture obitech  路  4Comments

haggen picture haggen  路  6Comments

shortspecialbus picture shortspecialbus  路  3Comments

nikolayzhmurov picture nikolayzhmurov  路  5Comments

willheryanto picture willheryanto  路  4Comments