#!/bin/zsh if ! command-exists brew; then echo "Requires homebrew" exit fi if [ ! `command -v "tmux"` ]; then echoh "==> Tmux: Installing tmux & reattach-to-user-namespace" brew install tmux reattach-to-user-namespace libevent | indent else echoh "==> Tmux: already installed!" fi echoh "==> Tmux: Setting up symlinks" src=$(cd "$(dirname "$0")/.."; pwd) ln -sf $src/tmux.conf ~/.tmux.conf echoh "==> Tmux: DONE!"