> Again, I don't know if there is any demand for adding a general > facility for this.
If you have in mind to make a PR, I would be a client for such a facility. IIUC, this would e.g. allow me to change automatically the prompt by calling a function from .juliarc.jl ? (which I do manually now with "Base.active_repl.interface.modes[1].prompt = ...").