plugin "download failed"
Hello, I'm getting the following when trying to install plugins:
Already installed "tpm"
Installing "tmux-sensible"
"tmux-sensible" download fail
Installing "tmux-scroll-copy-mode"
"tmux-scroll-copy-mode" download fail
TMUX environment reloaded.
Done, press ESCAPE to continue.
I've noticed that when trying to clone git repos via https that doesn't work on my system. I need to use git clone [email protected]:<repo> instead. Any advice here?
Thank you!
Hm, that's interesting.
If https clone does not work, I suggest cloning plugins manually, instead of doing tpm install step with prefix + I.
Here are the steps:
-
check you have this in your
tmux.conf:set -g @plugin 'tmux-plugins/tmux-sensible .... # last line in tmux.conf run '~/.tmux/plugins/tpm/tpm' -
Instead of
prefix + I, manually clone the plugin to the right dir. The path for<plugin-name>is:~/.tmux/plugins/<plugin-name>. For example, fortmux-sensibleyou'd do:$ git clone [email protected]:tmux-plugins/tmux-sensible.git ~/.tmux/plugins/tmux-sensible -
Then source
tmux.confwith:$ tmux source-file ~/.tmux.conf -
And the plugin should now work.
Let me know if this helps. Also, why doesn't git https clone work for you?
Yup that was what I ended up doing. I think https doesn't work because of firewalls and things... Thanks for your reply.
My error was because the plugins folder was not writable, using sudo fixed it.
I'm having this issue still, with tmux 3.1c and TPM commit b699a7e01c253ffb7818b02d62bce24190ec1019
My plugins folder is writable as well.
Try to add your http_proxy and https_proxy into /etc/environment and reboot to try again, this method works to me.
I deleted all plugins except tpm in ~/.tmux/plugins and did prefix + I again. This re-fetched the plugins again.