2013-03-22 18:06:04 -07:00
|
|
|
#!/usr/bin/env zsh
|
2013-03-17 07:00:32 -07:00
|
|
|
|
2013-10-21 01:19:42 -07:00
|
|
|
if ! command_exists tmux; then
|
2013-10-18 04:03:28 -07:00
|
|
|
echo_g "==> Installing tmux"
|
|
|
|
pkg_install tmux
|
2013-03-22 10:15:50 -07:00
|
|
|
if is_mac; then
|
|
|
|
brew install reattach-to-user-namespace libevent
|
|
|
|
fi
|
2013-03-17 07:00:32 -07:00
|
|
|
else
|
2013-10-18 04:03:28 -07:00
|
|
|
echo_r "==> Tmux is already installed!"
|
2013-03-17 07:00:32 -07:00
|
|
|
fi
|
|
|
|
|
2013-10-18 04:03:28 -07:00
|
|
|
echo_g "==> Tmux: Setting up symlinks"
|
2013-12-19 06:49:02 -08:00
|
|
|
rm -rf ~/.tmux.conf && ln -sf ~/.dotfiles/tmux.conf ~/.tmux.conf
|
2013-03-21 00:07:56 -07:00
|
|
|
|
2013-10-18 04:03:28 -07:00
|
|
|
echo_g "==> DONE!"
|