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