Open simonszu opened 6 years ago
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
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 'git@github.com/user/plugin'
# set -g @plugin 'git@bitbucket.com/user/plugin'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
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 ..,
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 :)
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.
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