Hello.
I am working with ST4 (build 4147) and I have noticed that frequently, the $PATH used by Sublime seems to not pick up my zprofile/zshrc.
My understanding is that Sublime picks up my PATH in the zsh configs on macOS via special logic using /bin/zsh -l
because macOS applications which are started via the Dock do not source any user files (I might have misunderstood and be wrong). That worked perfectly for me before, but it does not always work anymore, or so it seems.
This is problematic because I install a few dev software using macports and it is not in the default macOS path variable. The programs I install that way end up not being found by the plugins I use (LSP-pyright being the main one: it needs Node.js and I’d rather not have it install via macports AND with a private copy for the plugin).
I have found that rebooting the computer seems to make things better for a while, but it is very annoying that this happens.
Is this a known bug ? Is there something I am doing wrong ?
BTW, I can see the PATH in the console using:
import os
print( os.environ["PATH"] )
and I confirm that only the default macOS values are there and that macports is indeed missing.
Thanks for any insight.