It would be nice if the command julia --startup-file{yes|no} could be modified to julia --startup-file{filename.jl}. I realise that I can do julia -L <filename> but that, surely, is for a different purpose.
There is a case for having a choice of startup.jl files IMHO. Is there a way of doing this? Thx.
As an alternative solution depending on what you want to do, you can run any arbitrary julia file before starting a REPL by just using Julia to execute the file as a script with the -i flag to start a REPL afterward.
Many thanks both! @Tamas_Papp I didn’t know about DEPOT_PATH – sounds like a good idea. @non-Jedi I’ll experiment with a semi-blank start_up.jl that does an include() depending on a choice.
Workarounds may help you in the short run, but I think that being able to specify a custom startup file path (with arbitrary filenames) is a reasonable feature request.
Please check if there is an existing issue and consider opening one.