Removed
Link Here
|
1 |
[ |
2 |
{ type: install |
3 |
message: <<EOM |
4 |
To use ammonite as a shell you must(!) setup a configuration file |
5 |
~/.ammonite/predef.sc with a least the following minimal content: |
6 |
|
7 |
interp.load.ivy( |
8 |
"com.lihaoyi" %% "ammonite-ops" % ammonite.Constants.version |
9 |
) |
10 |
interp.load.ivy( |
11 |
"com.lihaoyi" % |
12 |
s"ammonite-shell_${scala.util.Properties.versionNumberString}" % |
13 |
ammonite.Constants.version |
14 |
) |
15 |
// This @ is necessary for Ammonite to process the `interp.load.ivy` |
16 |
// before continuing. |
17 |
@ |
18 |
val shellSession = ammonite.shell.ShellSession() |
19 |
import shellSession._ |
20 |
import ammonite.ops._ |
21 |
import ammonite.shell._ |
22 |
ammonite.shell.Configure(interp, repl, wd) |
23 |
EOM |
24 |
} |
25 |
] |
26 |
- |