helm/install/tmux

19 lines
405 B
Plaintext
Raw Normal View History

#!/bin/zsh
2013-03-17 07:00:32 -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"
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 19:26:04 -07:00
echo "==> Tmux: DONE!"