This is obviously a useful thing that one might want to do, so it should
work, and you did exactly the right thing – complain! The squeaky wheel
gets oiled:

https://github.com/JuliaLang/julia/commit/dc5350b09f8c59c292d480a71979fb16c0ddce25

Filing an issue would also be a good way to report this.

On Fri, Feb 7, 2014 at 8:45 AM, Ethan Anderes <[email protected]>wrote:

> 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