How to customize Base.load_path()?

Hi community,

is it possible to edit the contents of the Base.load_path()?
Appending a new load path to it works, but it leaves the old one remaining, while overwriting the load path deletes also the other two entries.
My goal is to edit individually both the load path directory and the project toml file directory. The reason is I am on a HPC cluster and these entries currently show to a public directory instead of my private one.
Many thanks, stay safe

How are you appending to a function?

In any case, LOAD_PATH is a plain vanilla vector, so you can empty! it and then push! items.

3 Likes