Locating Unix tools via PATHWhen locating Unix tools for various purposes, BBEdit will honor your account’s PATH environment variable (provided it is available and not empty). This should result in more predictable outcomes when using aftermarket installations of open-source tools as well as for alternative installations of tools included with the system (such as Python).If you modify your PATH, you must quit and relaunch BBEdit for those changes to take effect. Note also that if your PATH contains entries relative to the current working directory, those entries are not likely to work since $PWD is undefined for a GUI application, though absolute paths will work.
I don’t know if this is current best practices, but I’ve always used /etc/paths to add directories to my $PATH. This way I’m sure that it applies to all programs, GUI and command-line, running as me or as root.
I don’t know what the implications would be for using Conda’s Python outside of a Conda environment, but I assume you’ve thought about that and it’s fine.
Hope this helps.
-sam
--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "sup...@barebones.com" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/00886106-2da4-440e-ba68-681f8cb698d6%40googlegroups.com.