.iex.exs file
A .iex.exs
file at the root of your elixir project will be executed when you start your IEX session. Great for aliasing!
#/.iex.exs
one = 1
alias MyApp.{Foo, Bar}
In your IEx session the variable one
will be in scope and Foo
and Bar
will be aliased.