Personal dotfiles
1#!/bin/bash
2set -e
3cd $(dirname $0)
4if [ $(uname) == 'Darwin' ]; then
5 check brew || ./brew
6 brew install tmux
7else
8 ./libevent
9 cd "$HOME/.local"
10 test -d "tmux" || git clone git@github.com:tmux/tmux
11 cd tmux
12 git pull
13 sh autogen.sh
14 ./configure && make
15 sudo make install
16fi