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

Loading ~/.ammonite/predef.scala default behavior #398

Closed
emanresusername opened this Issue Jun 7, 2016 · 0 comments

Comments

Projects
None yet
2 participants
@emanresusername
Contributor

emanresusername commented Jun 7, 2016

The default behavior (i.e. loading ~/.ammonite/predef.scala when the repl is invoked in the initialCommands of any project) in version 0.5.8 has to be done with

ammonite.repl.Main(
  storageBackend = ammonite.repl.Storage.Folder(ammonite.ops.home/".ammonite")
).run()

in v 0.6.0
a short alias to cut out some of that boilerplate would be awesome!

@lihaoyi lihaoyi added the enhancement label Jun 11, 2016

@lihaoyi lihaoyi closed this in 311619f Jun 14, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment