This way -- creating an executable script named ~/bin/emacs
with the following contents -- is recommended on the Emacs Wiki:
#!/bin/sh
/Applications/Emacs.app/Contents/MacOS/Emacs "$@"
However, when running emacs .
, Emacs did not start in the current directory.
How can this be done?