I was trying to add permanently a path inside $Path.
"/Users/Softwares/HEP_Softwares/MT-1.0"
Following $Path manual I did the following
AppendTo[$Path, FileNameJoin[{$HomeDirectory, "/Softwares/HEP_Softwares/MT-1.0""}]];
which does it successfully. However when I quit kernel it goes away. Then following some other Q/A I have messed with something. Now whenever I do to load the package
<<MT`
it appends the path
/Users/Softwares/HEP_Softwares/MT-1.0
in \$Path and does not load the package. Is there any way to overcome the situation without changing my previous definitions of \$Path ? Also what is the best way to add a path in $Path permanently? This question may be duplicate but a clear answer is still lacking.
init.m
as described here? If<<MT`
does something expected, check what file it loads usingFindFile["MT`"]
. $\endgroup$