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( IEx.configure(
colors: [enabled: true], colors: [enabled: true],
default_prompt: [ inspect: [
"\e[G", # ANSI CHA, move cursor to column 1 pretty: true,
limit: :infinity
],
default_prompt:
[
# ANSI CHA, move cursor to column 1
"\e[G",
:magenta, :magenta,
"%prefix", # IEx prompt variable # IEx prompt variable
"%prefix",
"#", "#",
"%counter", # IEx prompt variable # IEx prompt variable
">", # plain string "%counter",
# plain string
">",
:reset :reset
] |> IO.ANSI.format |> IO.chardata_to_string ]
|> IO.ANSI.format()
|> IO.chardata_to_string()
) )

View file

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