helm/install/tmux

20 lines
438 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
echoh "==> 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
echoh "==> Tmux: already installed!"
2013-03-17 07:00:32 -07:00
fi
echoh "==> Tmux: Setting up symlinks"
2013-03-17 20:41:01 -07:00
src=$(cd "$(dirname "$0")/.."; pwd)
2013-03-17 07:00:32 -07:00
ln -sf $src/tmux.conf ~/.tmux.conf
echoh "==> Tmux: DONE!"