Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tpm bootstrap missing instruction? #248

Open
erikw opened this issue Mar 31, 2023 · 0 comments
Open

tpm bootstrap missing instruction? #248

erikw opened this issue Mar 31, 2023 · 0 comments

Comments

@erikw
Copy link

erikw commented Mar 31, 2023

Hello, I tried to follow the bootstrap guide at https://github.com/tmux-plugins/tpm/blob/master/docs/automatic_tpm_installation.md

However when the tpm/bin/install_plugins is executed during bootstrap it fails with:

  unknown variable: TMUX_PLUGIN_MANAGER_PATH
  FATAL: Tmux Plugin Manager not configured in tmux.conf
  Aborting.

I found the original issue at #39 (comment) which mentions that one should set the TMUX_PLUGIN_MANAGER_PATH env var for the bootstrap to work. After I added this it worked!

set-environment -g TMUX_PLUGIN_MANAGER_PATH "~/.tmux.d/plugins/"
if-shell "test ! -d ~/.tmux.d/plugins/tpm" \
   "run-shell 'git clone https://github.com/tmux-plugins/tpm ~/.tmux.d/plugins/tpm && ~/.tmux.d/plugins/tpm/bin/install_plugins'"

run-shell '~/.tmux.d/plugins/tpm/tpm'
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

No branches or pull requests

1 participant