Hi Everyone:

I'm trying to use isinterative() in .juliarc.jl to detect if I'm running julia 
in repl. In particular I have the following conditional in ~/.juliarc.jl

if isinteractive()
        include("/Users/ethananderes/.julia/v0.3/REPL/scripts/repl.jl")
end

The goal being that I want julia to run pure-julia repl only when I'm opening 
up a interactive session. For some reason this doesn't work. I'm guessing 
.juliarc.jl is ran before the interactive session starts, or something along 
those lines. Any suggestions on what do to here? Cheers!


Reply via email to