Reputation: 4077
When using elixir shell, I always have to copy the code like following to shell terminal from ms word
doc.
alias Mirror.Repo
alias Mirror.Imports.Importer
In erlang, I have write these code in the .erlang script file.
How to do it for elixir?
Upvotes: 0
Views: 129
Reputation: 3214
You can add it in an .iex.exs
file at the root of your mix project.
This is convenient for:
This article provides some helpful examples.
Upvotes: 1