-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.iex.exs
More file actions
37 lines (27 loc) · 885 Bytes
/
.iex.exs
File metadata and controls
37 lines (27 loc) · 885 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
## iEx session config by ./.iex.exs
# https://hexdocs.pm/iex/IEx.html#module-the-iex-exs-file
# https://hexdocs.pm/iex/IEx.html#module-configuring-the-shell
# iex> h
# iex> runtime_info
# v1.18+
IEx.configure(auto_reload: true)
# IEx.configure(inspect: [limit: :infinity])
# iex> IEx.configuration
## App specific here
alias ReqClient, as: Rc
alias ReqClient, as: R
alias ReqClient.Channel.Mint, as: M
alias ReqClient.Channel.Fake
alias ReqClient.Channel.Httpc, as: Hc
import_file_if_available(".iex.local.exs")
import ReqClient.Iex
## Helpers
# Load another ".iex.exs" file
# import_file("~/.iex.exs")
# import_file_if_available("~/.iex.exs")
# Import some module from lib that may not yet have been defined
# import_if_available(MyApp.Mod)
# Print something before the shell starts
# IO.puts("hello world")
# Bind a variable that'll be accessible in the shell
# value = 13