tmux-plugins / tpm

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

Tmux autostartup from launchctl #196

Open benmezger opened 3 years ago

benmezger commented 3 years ago

Hi,

I currently have this script which gets called by my launchctl on system startup plist, and gets attached to my shell whenever I open my terminal. tpm works fine when tmux attach fails, which calls tmux new through my zsh, however, when the plist gets ran, I am unable to load my plugins with tpm (not even install it or update it). Calling .tmux/plugins/tpm/tpm fixes the issue.

Any idea why this happens and how can I get tpm to work when this plist is ran?

tmux -V
tmux 3.1