# Pkg vs. shell REPL-mode

**URL:** https://discourse.julialang.org/t/pkg-vs-shell-repl-mode/12688
**Category:** Internals & Design
**Tags:** pkg
**Created:** [July 27, 2018, 3:57pm UTC](https://discourse.julialang.org/t/pkg-vs-shell-repl-mode/12688 "2018-07-27T15:57:42Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![airpmb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/airpmb/32/7826_2.png) [@airpmb](https://discourse.julialang.org/u/airpmb)
#### Post date: [July 27, 2018, 3:57pm UTC](https://discourse.julialang.org/t/pkg-vs-shell-repl-mode/12688/1 "2018-07-27T15:57:42Z")

</div>

I just noticed how the Pkg REPL-mode is “sticky” in the sense that after issuing a command in it you remain in Pkg mode, while the shell REPL-mode is not. I’m curious if the inconsistency is deliberate, and if so what the rationale is?

---

<div class="post-metadata">

### Author: ![mauro3](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mauro3/32/292_2.png) [@mauro3](https://discourse.julialang.org/u/mauro3)
#### Post date: [July 27, 2018, 6:22pm UTC](https://discourse.julialang.org/t/pkg-vs-shell-repl-mode/12688/2 "2018-07-27T18:22:01Z")

</div>

Help mode is not sticky either (which is good, imo). Shell mode could be sticky, imo.

---

<div class="post-metadata">

### Author: ![kevbonham](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kevbonham/32/216165_2.png) [@kevbonham](https://discourse.julialang.org/u/kevbonham)
#### Post date: [July 29, 2018, 3:09pm UTC](https://discourse.julialang.org/t/pkg-vs-shell-repl-mode/12688/3 "2018-07-29T15:09:40Z")

</div>

> [@mauro3](#):
>
> Help mode is not sticky either (which is good, imo). Shell mode could be sticky, imo.

Agreed. Would be nice if there were flags you could set to change the default behavior as well.

---

<div class="post-metadata">

### Author: ![Mason](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mason/32/2423_2.png) [@Mason](https://discourse.julialang.org/u/Mason)
#### Post date: [August 20, 2018, 6:36pm UTC](https://discourse.julialang.org/t/pkg-vs-shell-repl-mode/12688/4 "2018-08-20T18:36:51Z")

</div>

I have submitted a [PR to make the shell mode sticky](https://github.com/JuliaLang/julia/pull/28785).
