Files
dotfiles/install.d/24-tmux.sh

28 lines
581 B
Bash
Executable File

#!/usr/bin/env bash
# -----------------------------------------------------------------------------
# Description:
# Install and configure tmux.
#
if ! command -v tmux &> /dev/null; then
case "$DOTS_PKG" in
apt)
sudo apt-get install -qq tmux
;;
pacman)
sudo pacman -S --noconfirm tmux
;;
brew)
brew install tmux
;;
*)
log_warn "Skipping tmux install: no supported package manager found"
return 0
;;
esac
fi
tmux -V | log_quote