Move to Federated Gitea
This commit is contained in:
22
install-tpm.sh
Executable file
22
install-tpm.sh
Executable file
@@ -0,0 +1,22 @@
|
||||
#!/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!"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user