rootlogon.C documentation

Well, to be precise, the order is as follows:

  1. “$(root-config --etcdir)/system.rootlogon.C”
  2. “${HOME}/.rootlogon.C”
  3. “${PWD}/.rootlogon.C” but only if “${PWD}” != “${HOME}”
  4. the file defined by “Rint.Logon” which exists in “TROOT::GetMacroPath()”, so, by default (see the “$(root-config --etcdir)/system.rootrc” file), it will be either “${PWD}/rootlogon.C” or “${ROOTSYS}/macros/rootlogon.C”