-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_iex.exs
43 lines (41 loc) · 847 Bytes
/
dot_iex.exs
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
38
39
40
41
42
43
import_if_available(Ecto.Query)
import_if_available(Ecto.Changeset)
IEx.configure(
colors: [
syntax_colors: [
number: :light_yellow,
atom: :light_cyan,
string: :light_green,
boolean: [:light_blue],
nil: [:magenta, :bright]
],
ls_directory: :cyan,
ls_device: :yellow,
doc_code: :green,
doc_inline_code: :magenta,
doc_headings: [:cyan, :underline],
doc_title: [:cyan, :bright, :underline]
],
default_prompt:
[
:light_magenta,
# plain string
" %prefix (%counter)",
">",
:white,
:reset
]
|> IO.ANSI.format()
|> IO.chardata_to_string(),
continuation_prompt:
[
:light_magenta,
# plain string
" ...",
">",
:white,
:reset
]
|> IO.ANSI.format()
|> IO.chardata_to_string()
)