This commit is contained in:
Daniel Flanagan 2022-07-20 13:43:27 -05:00
parent 8fc42a9a64
commit a756980ecc
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
2 changed files with 21 additions and 11 deletions

View file

@ -4,14 +4,24 @@ Application.put_env(:elixir, :ansi_enabled, true)
IEx.configure(
colors: [enabled: true],
default_prompt: [
"\e[G", # ANSI CHA, move cursor to column 1
inspect: [
pretty: true,
limit: :infinity
],
default_prompt:
[
# ANSI CHA, move cursor to column 1
"\e[G",
:magenta,
"%prefix", # IEx prompt variable
# IEx prompt variable
"%prefix",
"#",
"%counter", # IEx prompt variable
">", # plain string
# IEx prompt variable
"%counter",
# plain string
">",
:reset
] |> IO.ANSI.format |> IO.chardata_to_string
]
|> IO.ANSI.format()
|> IO.chardata_to_string()
)

View file

@ -8,7 +8,7 @@
# fi
paru -Sy --needed --noconfirm \
watchexec \
fswatch watchexec \
fwupd \
docker `# Containers` \
ncdu `# Disk Usage Analyzer` \