Remove tmux 1.8 and install
sudo yum remove tmux -y && \
git clone https://github.com/tmux/tmux.git && \
sudo yum install libevent-devel -y && \
sudo yum install ncurses-devel.x86_64 -y && \
cd tmux && \
sudo yum install -y automake gcc byacc && \
sh autogen.sh && \
./configure && make && \
sudo cp ./tmux /usr/bin/ && \
exec zsh
Error:
'cut -c3- ~/.tmux.conf | sh -s _apply_configuration' returned 2
Solution:
Change sh
to zsh
(if you are using zsh)
NOTE: If you cannot install libevent and ncurses then add epel repo to your repo list.