For example, when I launch Emacs from the terminal (an interactive shell), I can use "M-x shell".
When I launch Emacs from the dock (which spawns process from some other shell), I cannot, because "grep isn't found" (or 'ls' or 'some other universal UNIX command'). Also, half my non-default applications have stopped working (MATLAB, DrRacket, X11, etc).
- How do I change the environment of the shell that is called by the dock?
- What shell does the dock call / what else ought I know about different shells on a mac?