Skip to content

Instantly share code, notes, and snippets.

@zer0beat
zer0beat / install-tmux-on-wsl.sh
Last active September 21, 2020 12:15
Install tmux from source on Bash for Windows (WSL)
#!/bin/bash
# Download and install command
# wget -qO- https://gist.github.com/zer0beat/04824c72055fa47325490ee5f842fa4f/raw | TMUX_VERSION=2.3 bash
TMUX_VERSION=${TMUX_VERSION:-"2.3"}
TMUX_SOURCE_CODE=https://github.com/tmux/tmux/releases/download/${TMUX_VERSION}/tmux-${TMUX_VERSION}.tar.gz
WORKDIR=~/tmux-install
# Install dependencies