Skip to content

Instantly share code, notes, and snippets.

@sigmix
sigmix / tmux_local_install.sh
Last active April 19, 2017 14:42 — forked from ryin/tmux_local_install.sh
Script that installs tmux without need for root permission, modified to work on AFS (Andrew File System)
#!/bin/bash
# Script for installing tmux on systems where you don't have root access.
# tmux will be installed in $HOME/local/bin.
# It's assumed that wget and a C/C++ compiler are installed.
# per https://www.opensource.apple.com/source/ncurses/ncurses-27/ncurses/INSTALL
# Script will check whether $HOME/local is under AFS, if so, ncurses shall be configured with --enable-symlinks
# exit on error