Something went wrong. Try again.
Mirroring: https://github.com/MunifTanjim/scripts.sh
Something went wrong. Try again.
scripts.sh setup-tpm
382 B · 20 lines
at main
123456789101112131415161718192021#!/usr/bin/env bash
# install/update tmux plugin manager# https://github.com/tmux-plugins/tpm
_tpm_dir="${HOME}/.tmux/plugins/tpm"
if [[ -d "${_tpm_dir}" ]]; then ( echo "tpm is already installed!" echo "Updating tpm..." cd "${_tpm_dir}" git pull )else ( echo "Installing tpm..." git clone https://github.com/tmux-plugins/tpm "${_tpm_dir}" )fi