Hello,
I noted sometimes that for some reason, when the tpm folder is already in .tmux/plugins/tpm, when I run .tmux/plugins/tpm/scripts/install_plugins.sh I could get the following error:
In this way the Tmux Plugin Manager is not installer. By studying the install_script.sh and changing the output messages of it, I could trigger the origin of the issue, that was:
Installing "tpm"
fatal: repository 'tmux-plugins/tpm' does not exist
fatal: destination path 'tpm' already exists and is not an empty directory.
"tpm" download fail
Already installed "tmux-sensible"
Already installed "tmux-power"
Already installed "tmux-window-name"
Already installed "tmux-mouse-swipe"
Already installed "tmux-notify"
Already installed "tmux-prefix-highlight"
Already installed "tmux-net-speed"
Already installed "tmux-yank"
So, the message fatal: destination path 'tpm' already exists and is not an empty directory. is not consistent with tpm download fail original message. Indeed, by changing the .tmux/plugins/tpm as .tmux/plugins/tpmBAK and running again the install_script.sh inside it, the installation was successful:
In conclusion, could you please fix the managing of error messages since the message fatal: destination path 'tpm' already exists and is not an empty directory. is not consistent with tpm download fail original message?
Hello, I noted sometimes that for some reason, when the
tpm
folder is already in.tmux/plugins/tpm
, when I run.tmux/plugins/tpm/scripts/install_plugins.sh
I could get the following error:In this way the Tmux Plugin Manager is not installer. By studying the
install_script.sh
and changing the output messages of it, I could trigger the origin of the issue, that was:So, the message
fatal: destination path 'tpm' already exists and is not an empty directory.
is not consistent withtpm download fail
original message. Indeed, by changing the.tmux/plugins/tpm
as.tmux/plugins/tpmBAK
and running again theinstall_script.sh
inside it, the installation was successful:In conclusion, could you please fix the managing of error messages since the message
fatal: destination path 'tpm' already exists and is not an empty directory.
is not consistent withtpm download fail
original message?Thank you