Closed rubiin closed 3 days ago
Good catch!
It seems that TPM will create a plugins
directory under $TMUX_PLUGIN_MANAGER_PATH
, it your case, it will be .config/tmux/plugins/tpm/plugins
?
Then topgrade should involve the command like this:
$ .config/tmux/plugins/tpm/plugins/tpm/bin/update_plugins all
Ref: https://github.com/tmux-plugins/tpm/blob/master/docs/changing_plugins_install_dir.md
yeah . Heres the plugins folder
since tpm path is hardcoded, when using a custom tpm path with the env var, no update is occuring.
TMUX_PLUGIN_MANAGER_PATH=.config/tmux/plugins/tpm
Erroneous Behavior
Expected Behavior
It should consider the path specified in TMUX_PLUGIN_MANAGER_PATH for tpm
Steps to reproduce
change the tmux folder from .tmux to .config/tmux set env
TMUX_PLUGIN_MANAGER_PATH=.config/tmux/plugins/tpm
execute topgradePossible Cause (Optional)
https://github.com/topgrade-rs/topgrade/blob/8b9d7ef8f37dbe8ef618000b974423d831c0dd7d/src/steps/tmux.rs#L21 check if
TMUX_PLUGIN_MANAGER_PATH
is set hereProblem persists without calling from topgrade
Did you run topgrade through
Remote Execution
If yes, does the issue still occur when you run topgrade directlly in your remote host
Configuration file (Optional)
Additional Details
Operation System/Version
Installation
Topgrade version (
topgrade -V
)Verbose Output (
topgrade -v
)