Setting Emacs alias issue in Big Sur

Since the inclusion of Emacs in MacOS was removed in Catalina, the "emacs" command is no longer a default command in the terminal.


I've tried setting an alias like this with the homebrew version of Emacs:

alias emacs='/Applications/Emacs.app/Contents/MacOS/Emacs'

However, the alias does not stay after reboot. I've also tried using sudo and if i recall correctly, the alias still did not stay set.


What is the fix for this

MacBook Pro 13″, macOS 11.2

Posted on Apr 25, 2021 4:32 PM

Reply

There are no replies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Setting Emacs alias issue in Big Sur

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.