Skip to content

Fix TPM plugin installation failing outside of tmux#3

Merged
chartotu19 merged 1 commit into
mainfrom
sp/fix-tpm-install
Apr 15, 2026
Merged

Fix TPM plugin installation failing outside of tmux#3
chartotu19 merged 1 commit into
mainfrom
sp/fix-tpm-install

Conversation

@chartotu19

Copy link
Copy Markdown
Owner

Summary

  • Symlink tmux.conf before running TPM plugin installer so the tmux server can read the config
  • Set TMUX_PLUGIN_MANAGER_PATH in tmux's global environment via tmux set-environment -g before invoking TPM's install_plugins, since the variable is unset on a fresh install

Test plan

  • Run ./tmux/install.sh on a fresh machine (no ~/.tmux.conf, no ~/.tmux/plugins/)
  • Run ./tmux/install.sh again to verify idempotency
  • Verify plugins are installed under ~/.tmux/plugins/

🤖 Generated with Claude Code

TPM's install_plugins script queries the tmux server for
TMUX_PLUGIN_MANAGER_PATH, which is unset on a fresh install. Fix by
symlinking tmux.conf before plugin install and explicitly setting the
variable in tmux's global environment via set-environment.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@chartotu19 chartotu19 merged commit f3ed0cd into main Apr 15, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant