diff options
author | katherine <ageha@airen-no-jikken.icu> | 2020-09-09 10:03:57 -0700 |
---|---|---|
committer | katherine <ageha@airen-no-jikken.icu> | 2020-09-09 10:03:57 -0700 |
commit | bb88edcb0cbc6d10cadd37bde6833e79c7cab531 (patch) | |
tree | f505e8cf60e0b7073c0af2a7628e06d03d41464b /.iex.exs | |
parent | d74f49bb93b14d0cfe18f76ba6e02716bc883c5a (diff) | |
download | dotfiles-bb88edcb0cbc6d10cadd37bde6833e79c7cab531.tar.gz |
add rpass func
Diffstat (limited to '.iex.exs')
-rw-r--r-- | .iex.exs | 28 |
1 files changed, 27 insertions, 1 deletions
@@ -48,7 +48,33 @@ defmodule IExConfigInit do "]\n", "└:", :reset - ] |> IO.ANSI.format |> IO.chardata_to_string + ] |> IO.ANSI.format |> IO.chardata_to_string, + alive_prompt: [ + # "\e[1A", + "\e[G", # ANSI CHA, move cursor to column 1 + :bright, + :white, + "┌[(", + :blue, + "%node", + :white, + ")", + :magenta, + (if user, do: user <> "@", else: ""), + "elixir-", + Elixir.System.version, + "@", + hostname, + " ", + :blue, + dir, + :white, + "]\n", + "└:", + :reset + ] |> IO.ANSI.format |> IO.chardata_to_string, + continuation_prompt: " ", + alive_continuation_prompt: " " ) end |