Last active
February 22, 2020 18:03
-
-
Save bottlenecked/baa25c2a6be17b95a4b044784428749f to your computer and use it in GitHub Desktop.
iex startup script on windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Application.put_env(:elixir, :ansi_enabled, true) | |
if System.fetch_env("shell") == {:ok, "powershell"} do | |
# define some colors that play nice with powershell blue background | |
IEx.configure(colors: [ | |
eval_error: :light_red, | |
syntax_colors: [ | |
boolean: :light_green, | |
nil: :light_green | |
] | |
]) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment