tpm icon indicating copy to clipboard operation
tpm copied to clipboard

Fix the instructions on changing plugins install dir

Open Akhil-CM opened this issue 1 year ago • 3 comments

The instructions given here need to be modified after tmux 3.4. The issue mentioned here.

TLDR : path values for options should be given in double quotes instead of single quotes.

Akhil-CM avatar Mar 18 '24 17:03 Akhil-CM

The reason you need double-quotes is because you had a variable in your path, $HOME which needed to be interpolated. String interpolation only happens with double-quotes, not single-quotes. Single-quotes is fine if you don't use variables. This could be called out by the docs, but they're not wrong as they are.

RossBarnie avatar May 21 '24 12:05 RossBarnie

IMO while fixing that, it'd be prudent to clarify. '/some/other/path/' is fairly ambiguous. Do you point it to the upper plugins directory or the tpm directory itself? Which is it?

 "${HOME}/.config/tmux/plugins/"
 "${HOME}/.config/tmux/plugins/tpm"
 "${HOME}/.config/tmux/" (admittedly unlikely)

It's understood that you can change it to whatever you want, but a sane example makes sense.

It's also WELL past time to put anything directly in ~/. This should either be in ~/.config/tmux or ~/.local/share/tmux possibly ~/.local/tmux just not ~/.

HalJordan avatar Aug 19 '25 05:08 HalJordan

I agree @HalJordan, unfortunately this repo is fairly unmaintained. I just try to add comments where I can. We're at the stage where a fork would be sensible.

RossBarnie avatar Aug 21 '25 15:08 RossBarnie