With emacs/eshell, the "echo $PATH" shows different paths than that of $PATH environment variable.
And I also checked that eshell doesn't read .bashrc or .profile, and I think that's the reason why the path is different.
- What setup file does eshell read when it starts?
- How eshell sets its PATH?
- How to make the eshell's PATH the same as the environment variable's PATH?
ADDED
As Jérôme Radix pointed out, the PATH depends on how I start the Aquamcs.
- When I click the button to start Aquamacs, it has different PATH.
- When I run 'aquamacs' from the command line, it has the same PATH.