--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Same question as Joshua.
Since it's breaking the current behaviour I imagine it's not that
simple but it sounds like a good idea.
On Friday, 23 January 2015 19:28:12 UTC, Joshua Nussbaum wrote:
What about just typing `iex` and then iex could check if there's a
mix.exs in current working dir?
and then `iex --no-mix` to run bare
On Friday, 23 January 2015 05:52:19 UTC-5, José Valim wrote:
It is because everything after -S is taken as the new script
to run. So it behaves differently than the other options.
*José Valim*
www.plataformatec.com.br <http://www.plataformatec.com.br/>
Skype: jv.ptec
Founder and Lead Developer
On Fri, Jan 23, 2015 at 11:38 AM, greggreg <greg...@gmail.com>
wrote:
Why is the -S capitol? The other options are lowercase and
-s isn't taken.
On Thursday, January 22, 2015 at 7:15:46 AM UTC-8, José
Valim wrote:
Thanks Bruce!
* We could support "iex mix" but then I don't think it
offers anything over iex -S mix (imo)
* We can't support "mix console" unfortunately. That
was our first attempt but it doesn't work due to
Erlang boot process
* "imix" and "iexmix" are valid alternatives, I am
eager to see what people think
*José Valim*
www.plataformatec.com.br
<http://www.plataformatec.com.br/>
elixir-lang-co...@__googlegroups.com.
For more options, visit
https://groups.google.com/d/__optout
<https://groups.google.com/d/optout>.
--
You received this message because you are subscribed to
the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails
from it, send an email to elixir-lang-co...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout
--
You received this message because you are subscribed to the Google
Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elixir-lang-co...@googlegroups.com
<mailto:elixir-lang-co...@googlegroups.com>.
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
Convention over tiresome command-line flags is better. If mix.exs is present, Iex should start up with a warning saying "Mix was autoloaded from the current directory. Use the --no-mix flag to turn off mix autoloading." or simply just cd .. to get out of the current mix project directory. How many times do you use "iex -S mix" vs just plain "iex"? Let's be realistic and make it less painful for every beginner.
--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I like the idea of IEx checking for the presence of mix.exs in the current directory. This could be made configurable via ~/.iex.exs:
I like the above suggestion of making iex configure via `~/.iex.ex` or whatever filename is suitable. From there we could also load all useful helpers like `alias App.User`, etc.. when loading the iex console. That'd be really helpful.
I like the above suggestion of making iex configure via `~/.iex.ex` or whatever filename is suitable. From there we could also load all useful helpers like `alias App.User`, etc.. when loading the iex console. That'd be really helpful.
You can already configure IEx via the .iex.exs file (http://elixir-lang.org/docs/master/iex/IEx.html).
--
You received this message because you are subscribed to a topic in the Google Groups "elixir-lang-core" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elixir-lang-core/cLCbsAhR7uo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CADN-ebir7_oP9TPkBu-3dc8hLxQU16DkXrrx1PROdw3cPQQo_Q%40mail.gmail.com.
Ruby: bundle exec irb