I have to launch almost any application by specifying the whole path which is annoying.
For example, git works fine, but lua does not. Both are installed in the same place:
$ which git
/usr/local/bin/git
$ which lua
/usr/local/bin/lua
How to make M-x shell behave like my standard shell? Or maybe there's a decent shell emulator as a package?
echo $SHELL outputs /bin/bash.