Open Freed-Wu opened 9 months ago
It could probably also migrate the existing directory for user-friendliness. So if $XDG_CONFIG_HOME/tmux
exists, move it to $XDG_DATA_HOME/tmux
. Making the user clone all the plugins might be jarring (and leaves the existing directory around for them to clean up)
I agree. If the TMUX_PLUGIN_MANAGER_PATH
is unset and the plugin folder is located at the previous default location, it should be handled.
The whole function loses it's purpose, thus you can move line 31 and 34 to
set_tpm_path
and deleteset_default_tpm_path
and it's associated comments and call.