tmux-plugins / tpm

Tmux Plugin Manager
MIT License
11.9k stars 417 forks source link

tpm doesn't get installed on arch linux #228

Open Tonetfal opened 2 years ago

Tonetfal commented 2 years ago

I've simply followed the instructions, but no result. I've added following lines to my tmux.conf

set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
run '~/.config/tmux/plugins/tpm/tpm'

and restarted sourced new config to read, but prefix + I doesn't do anything. The config that I've modified is the right one, i.e. modifying some parameters set by does affect the tmux, while the lines above do not. tmux version 3.3a Any help, please?

clintlombard commented 2 years ago

Have you manually installed tpm or used the automatic installation?

Tonetfal commented 2 years ago

I did it manually, so I just cloned the repository in front of my tmux.conf and pasted the main parts of the config from main page (including the run path/to/tpm/tpm). All the paths are right, I have no idea what can be wrong here. That's the part related to plugins (it's at the end of the file)

set -g @plugin 'tmux-plugins/tpm'
run '~/.config/tmux/plugins/tpm/tpm'

tpm.conf and plugins directory both are in my ~/.config/tmux. The plugins contains only the cloned tpm directory with all the required files.

raphaklaus commented 2 years ago

Have you tried prefix+I and wait a bit to let it install the plugins?

Tonetfal commented 2 years ago

Have you tried prefix+I and wait a bit to let it install the plugins?

Yes, I did it even several times on different days, and each time it said nothing, I'm not sure if it had to say anything though.

dylangleason commented 1 year ago

I am also on Arch using tmux version 3.3_a-3 and can reproduce this issue. It's probably worth noting that my tmux.conf is also located in XDG_CONFIG_HOME. When sourcing I just get an error code 127 and no other information.

UPDATE: does not appear to be related to to XDG home directory, as I am experiencing the same issue when moving the config to $HOME.

UPDATE: In my case, it turns out I had cloned the repo into the wrong directory... :facepalm:. Now everything is working as expected.

ptheunis commented 1 year ago

Can confirm i had the same issue as @dylangleason make sure to clone it into XDG_CONFIG_HOME/.config/tmux/plugins/tpm and not ~/.tmux/plugins/tpm after sourcing this fixed the issue for me.