Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #432 from thomasc/features/dot-elixirrc

Make elixir source $HOME/.elixirrc if it exists
  • Loading branch information...
commit 965c5197fab7e1a98d459976f53ed4588906fafe 2 parents b5cf149 + b045483
@josevalim josevalim authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  bin/elixir
View
2  bin/elixir
@@ -63,6 +63,8 @@ done
SELF=$(readlink_f "$0")
SCRIPT_PATH=$(dirname "$SELF")
+if [ -f "$HOME/.elixirrc" ]; then . "$HOME/.elixirrc"; fi
+
if [ -f "$SCRIPT_PATH/../releases/RELEASES" ] && [ -f "$SCRIPT_PATH/erl" ]
then
"$SCRIPT_PATH"/erl -env ERL_LIBS $ERL_LIBS:"$SCRIPT_PATH/../lib" -boot elixir -noshell $ELIXIR_ERL_OPTS $ERL -s elixir start_cli -extra "$@"
Please sign in to comment.
Something went wrong with that request. Please try again.