Files
coredesktop/install-tpm.sh
2026-04-29 06:49:40 -06:00

23 lines
400 B
Bash
Executable File

#!/bin/bash
set -e
if ! pacman -Q tmux &>/dev/null; then
echo "tmux is not installed."
exit 1
fi
TPM_DIR="$HOME/.tmux/plugins/tpm"
# Check if TPM is already installed
if [ -d "$TPM_DIR" ]; then
echo "TPM is already installed in $TPM_DIR"
else
echo "Installing Tmux Plugin Manager (TPM)..."
git clone https://github.com/tmux-plugins/tpm $TPM_DIR
fi
echo "TPM installed successfully!"