Friday, April 4, 2014

attach tmux after update

I do pacman -Syu to upgrade my system. After that, I can't attach my tmux session.


$ tmux attach
protocol version mismatch (client 8, server 7)

Here's a hack to attach my session.

$ pgrep tmux
23335
$ /proc/23335/exe attach


Well done!

Reference: https://bugzilla.redhat.com/show_bug.cgi?id=1073119#c2