Background
My .bashrc file has some components that take a little longer than I’d like on every ST Build System run. Before a recent update, I added a check for the TERM environment and skipped over that slow stuff, and everything was good.
Recently, something changed either in the dev-build or in my config, and now it appears that TERM is now set something that passes if [[ -n $TERM && $TERM != "dumb" ]]; ...
Question
Is there another way I can detect from a script that it’s being executed from ST?
On my custom build systems, I can one-by-one add an environment variable and check for that, but this does nothing for default or plugin build systems and is untenable to keep up with on every build system I write.
For example, can I set an environment variable from the user settings?
