-
Notifications
You must be signed in to change notification settings - Fork 0
/
.iex.exs.bak
44 lines (42 loc) · 908 Bytes
/
.iex.exs.bak
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
44
# IEx.configure colors: [enabled: true]
# IEx.configure colors: [ eval_result: [ :cyan, :bright ] ]
IO.puts(
IO.ANSI.red_background() <>
IO.ANSI.white() <> " ❄❄❄ Good Luck with Elixir ❄❄❄ " <> IO.ANSI.reset()
)
Application.put_env(:elixir, :ansi_enabled, true)
IEx.configure(
colors: [
eval_result: [:green, :bright],
eval_error: [[:red, :bright, "Bug Bug ..!!"]],
eval_info: [:yellow, :bright]
],
default_prompt:
[
# ANSI CHA, move cursor to column 1
"\e[G",
:white,
"I",
:red,
# plain string
"❤",
:green,
"%prefix",
:white,
"|",
:blue,
"%counter",
:white,
"|",
:red,
# plain string
"▶",
:white,
# plain string
"▶▶",
# ❤ ❤-»" , # plain string
:reset
]
|> IO.ANSI.format()
|> IO.chardata_to_string()
)