atom-julia-client icon indicating copy to clipboard operation
atom-julia-client copied to clipboard

pwd() in junorc.jl produces different result than Juno's REPL

Open TsurHerman opened this issue 8 years ago • 2 comments

I include this line in junorc.jl my_path = pwd() however in Juno REPL I get:

pwd() "/Users/tsurherman/Work/myproject" my_path "/"

Is this intended? how can I get around this?

TsurHerman avatar Jun 30 '17 20:06 TsurHerman

~~It is intended. You can just put your code into juliarc.jl if you don't want anything special related to paths and stuff to happen.~~ Whoops, misread that. Still kinda intended, but I forgot why. I can look into deferring the junorc.jl loading until after the working dir is set though.

pfitzseb avatar Jun 30 '17 20:06 pfitzseb

I am having a hard time modifying your coffeescript code. Can you please direct me where to do the change, I will be happy to issue a PR.

TsurHerman avatar Jul 04 '17 07:07 TsurHerman