Installation

Installation

The package is registered in METADATA so it is easily installed by

Pkg.add("OhMyREPL.jl")

Automatically start with Julia.

One way of automatically starting the package with Julia is by putting

if isdir(Pkg.dir("OhMyREPL"))
    @eval using OhMyREPL
else
    warn("OhMyREPL not installed")
end

in your .juliarc.jl file.

You can also compile OhMyREPL into the Julia system image. This will mean that there is no need to edit your .juliarc file and the Julia REPL will start a bit quicker since it does not have to parse and compile the package when it is loaded. The way to do this is described in the Julia manual but is also summarized here:

If you are building Julia from source, the userimg.jl file can just be moved to the Base folder and then run make like normal.

Note that you will have to redo this process if OhMyREPL is updated.