Calling Exit from the Package REPL

I regularly make the following error in the REPL package environment.

] exit()
...
ERROR: Could not determine command

Thoughts on adding exit as a valid command in the package environment?

I do not think that supporting evaluating Julia code at the pkg> prompt is a good idea.

The error is easy to recover from, just press Backspace and try again.

Ctrl+D exits from the julia repl and the pkg repl immidiately.

4 Likes

I don’t think I have ever typed exit(). Use Ctrl-D instead.

2 Likes

I didn’t know that Ctrl+D worked in the REPL, seems obvious introspect. Thanks!