Next, GNU Smalltalk sends the
returnFromSnapshot event to the dependents
of the special class
ObjectMemory (see Memory access).
Afterwards, it loads ~/.st/init.st if available.5
You can remember the difference between pre.st and init.st by remembering that pre.st is the pre-snapshot file and init.st is the post-image-load initialization file.
Finally, GNU Smalltalk loads files listed on the command line, or prompts for input at the terminal, as described in Command line arguments.
The same considerations made above hold here too. The file is called _st/init.st under MS-DOS, and is looked for in the current directory under OSes that don’t use home directories.