As of v1.11, when using the recommended script to automatically start OhMyREPL.jl with Julia
# ~/.julia/config/startup.jl
atreplinit() do repl
try
@eval using OhMyREPL
catch e
@warn "error while importing OhMyREPL" e
end
end
the error passed to @warn shows
InitError: UndefRefError: access to undefined reference during initialization of module REPLExt
Contrasting this, when in the REPL, using OhMyREPL works just fine.
Additionally, when using this startup.jl, subsequently pkg> status yields nothing and no packages in the environment are recognized.
Finally, if OhMyREPL is removed from the environment with pkg> remove OhMyREPL so that using OhMyREPL in the startup file should error in trying to find the package, that does happen and everything else works fine.
I frankly have absolutely no idea how to really interpret the error message, and thus how to potentially fix the issue.