-
Notifications
You must be signed in to change notification settings - Fork 431
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'~/.tmux/plugins/tpm/tpm' returned 2 #81
Comments
Thanks, added this to the docs. In the future feel free to open a PR for things like this. If the PR is reasonable (like this one), concise, has the same style as the surrounding text it would get merged faster. |
Same issue for me. I tried the solution but it makes no difference, same error. Shame :( Can anyone help? Thanks. After looking again at the docs I found this error. # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm' I changed it to run '~/.tmux/plugins/tpm' Now it's fine. |
The above solution provided by @peter-snr works. Just to be sure(in case anyone doesn't know), you have to change that above line in |
This was an issue for me for some time. This error occurred for me when I sourced .tmux.conf. As an error this probably will not occur for many users as it requires cygwin and jimeh/tmux-themepack (or possibly other plugins) and is possibly even depending on git config --global core.autocrlf. I will report it here though as possible users will start their search here. The problem as you might already understand is line endings. I think that this doesn't deserve a code change as much as a mention in https://github.com/tmux-plugins/tpm/blob/master/docs/tpm_not_working.md.
The solution is to run this command:
find ~/.tmux -type d -name '.git*' -prune -o -type f -print0 | xargs -0 d2u
The command above makes sure that all files have unix line endings, carefully avoiding messing up the .git folders.
Thank you for splendid program!
The text was updated successfully, but these errors were encountered: