Skip to content

Instantly share code, notes, and snippets.

@rajat404
Last active April 28, 2016 08:01
Show Gist options
  • Save rajat404/372788ccb541a5b2b03044ab6fc1ab6a to your computer and use it in GitHub Desktop.
Save rajat404/372788ccb541a5b2b03044ab6fc1ab6a to your computer and use it in GitHub Desktop.
#! /bin/bash
# Installs Tmux 2.2 on Ubuntu 14.04
sudo apt-get install -y libutempter0
echo "Downloading tmux 2.2"
FILE=`mktemp`
URL="http://ftp.us.debian.org/debian/pool/main/t/tmux/tmux_2.2-1~bpo8+1_amd64.deb"
wget $URL -O $FILE
echo "Installing tmux 2.2"
sudo dpkg -i $FILE
## After running the script, run tmux, and run the following commands:
# tmux show -g | cat > ~/.tmux.conf
# echo "set -g mouse on" >> ~/.tmux.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment