dch revised this gist . Go to revision
1 file changed, 31 insertions
.iex.exs(file created)
| @@ -0,0 +1,31 @@ | |||
| 1 | + | IEx.configure( | |
| 2 | + | default_prompt: | |
| 3 | + | [ | |
| 4 | + | # ANSI CHA, move cursor to column 1. Breaks stuff. | |
| 5 | + | # "\e[G", | |
| 6 | + | :light_green, | |
| 7 | + | # plain string | |
| 8 | + | "🧪 ", | |
| 9 | + | :white, | |
| 10 | + | :reset | |
| 11 | + | ] | |
| 12 | + | |> IO.ANSI.format() | |
| 13 | + | |> IO.chardata_to_string(), | |
| 14 | + | inspect: [limit: :infinity, pretty: true, printable_limit: :infinity], | |
| 15 | + | colors: [ | |
| 16 | + | enabled: true, | |
| 17 | + | syntax_colors: [ | |
| 18 | + | number: :yellow, | |
| 19 | + | atom: :cyan, | |
| 20 | + | string: [:italic, :blue], | |
| 21 | + | boolean: [:italic, :magenta], | |
| 22 | + | nil: [:magenta, :bright] | |
| 23 | + | ], | |
| 24 | + | ls_directory: :cyan, | |
| 25 | + | ls_device: :yellow, | |
| 26 | + | doc_code: :green, | |
| 27 | + | doc_inline_code: :magenta, | |
| 28 | + | doc_headings: [:cyan, :underline], | |
| 29 | + | doc_title: [:cyan, :bright, :underline] | |
| 30 | + | ] | |
| 31 | + | ) | |
Newer
Older