I am now syncing houdini.env over multiple PCs including Windows and macOS, and wondering the way to load additional plugins depend on the value of HOUDINI_OS.
Though I tried to write some scripts in $HOUDINI_PATH/scripts/pythonrc.py, it would not work as the process to load plugins seems to be done before pythonrc.py is executed.
if hou.getenv("HOUDINI_ENV") is "Windows: hou.putenv("HOUDINI_OTLSCAN_PATH", "%s;<THE PATH TO PLUGINS>" % hou.getenv("HOUDINI_OTLSCAN_PATH"))