smalltalk.rc
changeset 53 00437bd1cfe7
parent 42 01ad8f1b986b
child 80 0193c15d9898
--- a/smalltalk.rc	Tue Nov 21 14:51:55 1995 +0100
+++ b/smalltalk.rc	Tue Nov 21 15:00:30 1995 +0100
@@ -28,8 +28,23 @@
 "/***************************************************************
 
 "/
+"/ allow definition of the systemPath from an environment variable
+"/ for example, to only try files in a users home and /usr/local/lib/smalltalk,
+"/ add the following in your shell-profile:
+"/	export STX_SYSTEMPATH=$HOME:/usr/local/lib/smalltalk
+"/ notice, that shell variable names are NOT expanded again in STX_SYSTEMPATH
+"/ Make certain that all relevant files are found along your path - you may see
+"/ funny viewStyles, colors and stupid strings if wrong.
+"/
+|path|
+(path := OperatingSystem getEnvironment:'STX_SYSTEMPATH') notNil ifTrue:[
+    Smalltalk systemPath:(path asCollectionOfSubstringsSeparatedBy:$:)
+].
+
+"/
 "/ map Language variable setting to known and handled
 "/ values:
+"/
 Language == #De ifTrue:[
 	Language := #german
 ].