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

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

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

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

emanresusername opened this issue Jun 7, 2016 · 0 comments

Comments

@emanresusername
Copy link
Contributor

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!

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

No branches or pull requests

2 participants