2013-03-17 07:00:32 -07:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
echo "[TMUX]"
|
|
|
|
if [ ! `command -v "brew"` ]; then
|
|
|
|
echo "Requires homebrew"
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
|
|
|
echo
|
|
|
|
if [ ! `command -v "tmux"` ]; then
|
|
|
|
echo "* Installing tmux & reattach-to-user-namespace"
|
2013-03-17 17:46:43 -07:00
|
|
|
brew install tmux reattach-to-user-namespace libevent
|
2013-03-17 07:00:32 -07:00
|
|
|
else
|
|
|
|
echo "* Tmux is already installed!"
|
|
|
|
fi
|
|
|
|
|
|
|
|
echo
|
|
|
|
echo "* Setting up symlinks"
|
|
|
|
src=$(cd "$(dirname "$0")"; pwd)
|
|
|
|
|
|
|
|
ln -sf $src/tmux.conf ~/.tmux.conf
|