dotfiles/install_tmux.sh
2023-11-04 20:04:25 +01:00

21 lines
661 B
Bash
Executable file

#!/bin/bash
set -e
TMUX_VERSION=3.3a
echo >&2 "====================================================================="
echo >&2 " >> installing tmux"
echo >&2 " >>> install tmux dependencies"
sudo apt install -y libevent-dev
echo >&2 " >>> downloading file"
curl -LO https://github.com/tmux/tmux/releases/download/${TMUX_VERSION}/tmux-${TMUX_VERSION}.tar.gz
echo >&2 " >>> decompressing"
tar -zxf tmux-${TMUX_VERSION}.tar.gz
echo >&2 " >>> changing into tmux src"
cd tmux-${TMUX_VERSION}/
echo >&2 " >>> running .configure"
./configure
echo >&2 " >>> listing file in current dir"
echo >&2 $(ls -la)
echo >&2 " >>> running .configure"
make && sudo make install