Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not loading ~/.juliarc.jl in script mode is really annoying #5076

Closed
StefanKarpinski opened this issue Dec 9, 2013 · 10 comments
Closed

not loading ~/.juliarc.jl in script mode is really annoying #5076

StefanKarpinski opened this issue Dec 9, 2013 · 10 comments
Labels
needs decision A decision on this change is needed

Comments

@StefanKarpinski
Copy link
Sponsor Member

I get why we don't do this in principle, but I now really think it's a mistake.

@staticfloat
Copy link
Sponsor Member

I think I agree with you; ~/.juliarc.jl is getting to be pretty important, and since we support julia -f to ignore it, perhaps we should move to always loading it. Unless someone has a compelling reason not to.

@JeffBezanson
Copy link
Sponsor Member

Yeah, I agree. Switching loading of juliarc on and off in various cases seems random.

@JasonPries
Copy link
Contributor

This causes issues using JuliaStudio as well (forio/julia-studio#165).

@JeffBezanson
Copy link
Sponsor Member

Shall we go ahead and change this?

@StefanKarpinski
Copy link
Sponsor Member Author

Yes, let's just change it at put a note in NEWS.

@ivarne
Copy link
Sponsor Member

ivarne commented Dec 12, 2013

There is still a usecase for having somewhere to put REPL specific utilities, but I guess we have so much code to load at startup that it is unlikely to make any difference.

@StefanKarpinski
Copy link
Sponsor Member Author

You can always have some of it inside of if isinteractive() ... end.

@johnmyleswhite
Copy link
Member

Nice to have this changed.

@vtjnash vtjnash reopened this Jan 26, 2014
@vtjnash
Copy link
Sponsor Member

vtjnash commented Jan 26, 2014

./julia script.jl still doesn't load the .juliarc.jl file before running the script

@ivarne
Copy link
Sponsor Member

ivarne commented Feb 7, 2014

And now the isinteractive thing works also: dc5350b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs decision A decision on this change is needed
Projects
None yet
Development

No branches or pull requests

7 participants