1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 07:08:01 +00:00

Add Quitting IEx as an elixir til

This commit is contained in:
jbranchaud
2016-06-30 22:27:01 -05:00
parent 5e70445b35
commit 357e505e19
2 changed files with 16 additions and 1 deletions

14
elixir/quitting-iex.md Normal file
View File

@@ -0,0 +1,14 @@
# Quitting IEx
There are two ways to quit out of an Interactive Elixir shell. The standard
way is with `Ctrl-c`. This gives you a list of options, one of which is `a`
for _abort_. This will terminate your IEx session and drop you back on the
command line where the process started.
Additionally, IEx also understands `Ctrl-\` which is control key that will
terminate just about any interactive environment. This command will cause
IEx to immediately exit with no prompt.
Note: IEx does not, however, respond to `Ctrl-d`.
[source](http://blog.plataformatec.com.br/2016/03/how-to-quit-the-elixir-shell-iex/)