# Aliases not recognized in Julia shell mode

**URL:** <https://discourse.julialang.org/t/aliases-not-recognized-in-julia-shell-mode/51571>\
**Category:** General Usage\
**Created:** [December 9, 2020, 10:55pm UTC](https://discourse.julialang.org/t/aliases-not-recognized-in-julia-shell-mode/51571 "2020-12-09T22:55:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xijiang\_Yu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xijiang_yu/32/14439_2.png) [@Xijiang\_Yu](https://discourse.julialang.org/u/Xijiang_Yu)\
**Post date:** [December 9, 2020, 10:55pm UTC](https://discourse.julialang.org/t/aliases-not-recognized-in-julia-shell-mode/51571/1 "2020-12-09T22:55:50Z")

</div>

Type `;` to enter shell mode. It is easy to run commands like `ls`. But an alias defined e.g., in `.bashrc`, like `ll` is not recognized. The latter gives an error _Could not determine command_.

Any suggestion?

---

<div class="post-metadata">

**Author:** ![oxinabox](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oxinabox/32/206603_2.png) [@oxinabox](https://discourse.julialang.org/u/oxinabox)\
**Post date:** [December 9, 2020, 11:09pm UTC](https://discourse.julialang.org/t/aliases-not-recognized-in-julia-shell-mode/51571/2 "2020-12-09T23:09:57Z")

</div>

Shell mode doesn’t run your system shell.  
it is basically a short hand for julia’s `run` command.  
So it doesn’t know about your aliases if they are defines in a `bashrc`.  
If you want your system shell you could start if from shell mode, via e.g. `; bash`

Probably someone could implement a Repl mode that actually does wrap bash etc, with ReplMaker.jl or something, but i have not seen one.

---

<div class="post-metadata">

**Author:** ![aramirezreyes](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/aramirezreyes/32/42573_2.png) [@aramirezreyes](https://discourse.julialang.org/u/aramirezreyes)\
**Post date:** [December 10, 2020, 1:01am UTC](https://discourse.julialang.org/t/aliases-not-recognized-in-julia-shell-mode/51571/3 "2020-12-10T01:01:37Z")

</div>

It used to work as you expected but it got changed at some point.

Here I paste Stefan’s words in that respect from the Slack.

 ![Screen Shot 2020-12-09 at 6.58.26 PM](https://global.discourse-cdn.com/julialang/original/3X/5/2/525dd7e9b432e3dd667191f82631df7c2ba40fb8.png)
