tmux-plugins / tpm

Tmux Plugin Manager
MIT License
11.9k stars 417 forks source link

does it work with m1? #203

Open GopherJ opened 3 years ago

GopherJ commented 3 years ago
image

I keep getting the above message on m1

mdmfernandes commented 3 years ago

I was also having this issue on MacOS (not M1), and I solve it with the fix suggested here: https://github.com/tmux-plugins/tpm/issues/67, i.e. by adding the line set-environment -g PATH "/usr/local/bin:/bin:/usr/bin" before run '~/.tmux/plugins/tpm/tpm'.

tadija commented 3 years ago

I'm having the same issue on m1, any idea how to track it down?

GopherJ commented 3 years ago

I was also having this issue on MacOS (not M1), and I solve it with the fix suggested here: #67, i.e. by adding the line set-environment -g PATH "/usr/local/bin:/bin:/usr/bin" before run '~/.tmux/plugins/tpm/tpm'.

I tried it but it didn't help actually

dberenbaum commented 3 years ago

To clarify, if you installed tmux via homebrew to /opt/homebrew/bin, you need to update the set-environment line as noted at the bottom of #67 to include /opt/homebrew/bin:

set-environment -g PATH "/opt/homebrew/bin:/usr/local/bin:/bin:/usr/bin"
run '~/.tmux/plugins/tpm/tpm'