Skip to content

Instantly share code, notes, and snippets.

@djhaskin987
Last active December 12, 2016 19:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save djhaskin987/9dec227234894d490c7ba8ff7cbc9932 to your computer and use it in GitHub Desktop.
Save djhaskin987/9dec227234894d490c7ba8ff7cbc9932 to your computer and use it in GitHub Desktop.
Install screen with 256 color support on mac
#!/bin/sh
export POSIXLY_CORRECT=1
set -xe
git clone git://git.savannah.gnu.org/screen.git
cd screen/src
sudo mkdir -p /etc/opt/screen
./autogen.sh
./configure --prefix=/opt/djhaskin987/screen --sysconfdir=/etc/opt/djhaskin987/screen/ --localstatedir=/var/opt/djhaskin987/screen/ --enable-colors256
make
sudo make install
brew link screen
#!/bin/sh
export POSIXLY_CORRECT=1
# Download homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Download compiler, autotools
brew install autoconf automake gcc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment