Skip to content

Instantly share code, notes, and snippets.

@bottlenecked
Last active February 22, 2020 18:03
Show Gist options
  • Save bottlenecked/baa25c2a6be17b95a4b044784428749f to your computer and use it in GitHub Desktop.
Save bottlenecked/baa25c2a6be17b95a4b044784428749f to your computer and use it in GitHub Desktop.
iex startup script on windows
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