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

'~/.tmux/plugins/tpm/tpm' returned 1 #16

Open
simonszu opened this issue Jun 7, 2018 · 5 comments
Open

'~/.tmux/plugins/tpm/tpm' returned 1 #16

simonszu opened this issue Jun 7, 2018 · 5 comments

Comments

@simonszu
Copy link

simonszu commented Jun 7, 2018

I cannot get this plugin running with tpm since the above error occurs when i add set -g @plugin 'jimeh/tmux-themepack' to my tmux.conf

@jimeh
Copy link
Owner

jimeh commented Jun 7, 2018

Are you sure your TPM install works correctly and is up to date?

I've just updated TPM and all my plugins locally and everything works fine. Relevant part of my Tmux config is here: https://github.com/jimeh/dotfiles/blob/6cdf9dcceda604ee7c4a5766720537739fae9e72/tmux.conf#L80-L97

@simonszu
Copy link
Author

simonszu commented Jun 7, 2018

I am sure. I have installed TPM just before i added the themepack. This is my relevant part, the run line is the last line of my .tmux.conf. Notice that i have removed the install lines of the themepack because of the errors.

#######
# TPM #
#######

# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'

# Hit prefix + I to install plugins after saving

# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin '[email protected]/user/plugin'
# set -g @plugin '[email protected]/user/plugin'

# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'

@kmontag
Copy link

kmontag commented Apr 28, 2019

I was running into the same issue. It looks like it only occurs when 'jimeh/tmux-themepack' occurs below the other plugins in the list, i.e. it occurs when my list looks like:

set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'jimeh/tmux-themepack'

But not when it looks like:

set -g @plugin 'jimeh/tmux-themepack'
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'

No clue as to the underlying cause, but that may help you reproduce it @jimeh ..,

@jimeh
Copy link
Owner

jimeh commented Apr 29, 2019

Thanks @kmontag, I'll have a closer look this week, as I've already set aside some time to deal with the Tmux 2.9 issues :)

p-oka added a commit to p-oka/configurations that referenced this issue May 9, 2019
@noboruma
Copy link

Are you guys using mac osx?
I had the same error but it was fixed by following (Last point):
https://github.com/tmux-plugins/tpm/blob/master/docs/tpm_not_working.md

Turned out the run command was not finding tmux and was failing with error 1.

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

4 participants