Skip to content

Commit

Permalink
Make elixir source $HOME/.elixirrc if it exists
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasc committed Aug 10, 2012
1 parent b5cf149 commit b045483
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/elixir
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"
Expand Down

0 comments on commit b045483

Please sign in to comment.