What is the right folder to put a file init.m which will be run after all other init.m
files applied by the various components of Mathematica have done their job?
I would like to use it to do something like
AppendTo[$Path, *my favourite place*];
Unprotect[Needs];
Needs[x_] := Needs[x, ContextToFileName[x]];
Protect[Needs];
Needs["CleanSlate`"];
SetOptions[FileNames, IgnoreCase->True];
ClearAttributes[If, HoldAll]; SetAttributes[If, HoldRest];
ClearAttributes[Switch,HoldAll]; SetAttributes[Switch, HoldRest];
Unprotect[RGBColor];
RGBColor[{x_, y_, z_}] := RGBColor[x, y, z];
Protect[RGBColor];
Unprotect[MantissaExponent];
MantissaExponent[i_?IntegerQ] := MantissaExponent[1.*i]
Protect[MantissaExponent];
... and other things which make my work go smoother.
Previously (in Version 4.0)
C:\Program Files\Wolfram Research\Mathematica\4.0\AddOns\Autoload\init.m
or
C:\Program Files\Wolfram Research\Mathematica\4.0\SystemFiles\FrontEnd\init.m
were the right places for this type of operations.
Comments
Post a Comment