tpm icon indicating copy to clipboard operation
tpm copied to clipboard

tpm doesn't get installed on arch linux

Open Tonetfal opened this issue 3 years ago • 7 comments
trafficstars

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?

Tonetfal avatar Jul 05 '22 18:07 Tonetfal

Have you manually installed tpm or used the automatic installation?

clintlombard avatar Jul 14 '22 15:07 clintlombard

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.

Tonetfal avatar Jul 15 '22 14:07 Tonetfal

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

raphaklaus avatar Jul 15 '22 15:07 raphaklaus

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.

Tonetfal avatar Jul 15 '22 19:07 Tonetfal

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.

dylangleason avatar Feb 13 '23 18:02 dylangleason

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.

ptheunis avatar Aug 07 '23 17:08 ptheunis