Skip to content
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

initialization script returns 127 #3

Closed
shime opened this issue Aug 30, 2014 · 2 comments
Closed

initialization script returns 127 #3

shime opened this issue Aug 30, 2014 · 2 comments

Comments

@shime
Copy link

shime commented Aug 30, 2014

After placing this

# List of plugins
# Supports `github_username/repo` or full git URLs
set -g @tpm_plugins "              \
  tmux-plugins/tpm                 \
  tmux-plugins/tmux-sensible       \
"
# Other examples:
# github_username/plugin_name    \
# git@github.com/user/plugin     \
# git@bitbucket.com/user/plugin  \

# initializes TMUX plugin manager
run-shell ~/.tmux/plugins/tpm/tpm

at the end of ~/.tmux.conf and running

$ tmux source-file ~/.tmux.conf

I was getting

'/home/hrvoje/.tmux/plugins/tpm/tpm' returned 127

Tracked it down to a missing folder, /home/hrvoje/.tmux/plugins/tmux-sensible.

After hitting prefix + I, the tmux-sensible was fetched and the problem was gone.

Maybe it would be a good idea to add better error handling for this or to automatically fetch the plugin if the folder doesn't exist?

@shime shime closed this as completed Aug 30, 2014
@bruno-
Copy link
Member

bruno- commented Aug 30, 2014

Thanks for taking the time to investigate and report. Getting the error is definitely not desired.
I think better error handling is the way to go here.

@bruno- bruno- reopened this Aug 30, 2014
@bruno- bruno- closed this as completed in b8c076e Aug 30, 2014
@shime
Copy link
Author

shime commented Aug 30, 2014

👍

karbobc pushed a commit to karbobc/tpm that referenced this issue Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants