- #!/bin/env bash
- . ./lib/sudo.sh
- set -e
- sudo apt update
- sudo apt install -y libevent-dev pkg-config byacc ncurses-dev
- DIR="$HOME/.local/src/tmux"
- rm -rf "$DIR"
- git clone --depth=1 https://github.com/tmux/tmux.git "$DIR"
- pushd "$DIR"
- sh autogen.sh
- ./configure --prefix="$HOME/.local" && make
- make install
- popd
|