diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2025-12-20 10:53:14 -0500 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2025-12-20 10:54:02 -0500 |
| commit | 7b6dbb921650e2a52929f025b67be57609fda6d4 (patch) | |
| tree | 895416312698cfe4ac61d4eed0f071d7743c0214 /shlib/tmux.sh | |
| parent | Remove openbsd conditional in zsh (diff) | |
| download | dotfiles-7b6dbb921650e2a52929f025b67be57609fda6d4.zip | |
Rework dotfiles to *only* contain dotfiles
Diffstat (limited to 'shlib/tmux.sh')
| -rw-r--r-- | shlib/tmux.sh | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/shlib/tmux.sh b/shlib/tmux.sh deleted file mode 100644 index c8870f5..0000000 --- a/shlib/tmux.sh +++ /dev/null @@ -1,30 +0,0 @@ -# shellcheck shell=sh -[ -n "${DOTFILES_TMUX_LOADED}" ] && return -readonly DOTFILES_TMUX_LOADED=1 - -. "$(dirname "$0")/shlib/log.sh" - -tmux_setup_tpm() { - ( - tpm_dir="$HOME/.config/tpm/plugins/tpm" - if [ ! -d "$tpm_dir" ]; then - log_info "Cloning TPM..." - if ! git clone https://github.com/tmux-plugins/tpm "$tpm_dir"; then - log_error "Failed to clone tpm to $tpm_dir" - return 1 - fi - else - log_info "TPM already exists, updating..." - (cd "$tpm_dir" && git pull) - fi - - if command -v tmux >/dev/null 2>&1; then - log_info "Installing tmux plugins..." - "$tpm_dir/scripts/install_plugins.sh" - log_info "TPM plugins installed successfully." - else - log_warn "tmux not found. TPM cloned but plugins not installed." - log_warn "Run 'tmux' and then press 'prefix + I' to install plugins manually." - fi - ) -} |