2013-03-21 00:07:56 -07:00
|
|
|
#!/bin/zsh
|
2013-03-17 07:00:32 -07:00
|
|
|
|
2013-03-21 00:07:56 -07:00
|
|
|
if ! command-exists brew; then
|
2013-03-17 07:00:32 -07:00
|
|
|
echo "Requires homebrew"
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ ! `command -v "tmux"` ]; then
|
2013-03-21 19:26:04 -07:00
|
|
|
echo "==> Tmux: Installing tmux & reattach-to-user-namespace"
|
2013-03-21 00:07:56 -07:00
|
|
|
brew install tmux reattach-to-user-namespace libevent | indent
|
2013-03-17 07:00:32 -07:00
|
|
|
else
|
2013-03-21 19:26:04 -07:00
|
|
|
echo "==> Tmux: already installed!"
|
2013-03-17 07:00:32 -07:00
|
|
|
fi
|
|
|
|
|
2013-03-21 19:26:04 -07:00
|
|
|
echo "==> Tmux: Setting up symlinks"
|
|
|
|
ln -sf ~/.dotfiles/tmux.conf ~/.tmux.conf
|
2013-03-21 00:07:56 -07:00
|
|
|
|
2013-03-21 19:26:04 -07:00
|
|
|
echo "==> Tmux: DONE!"
|