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?
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 whentmux attach
fails, which callstmux 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?