Created
January 22, 2024 20:44
-
-
Save mtungusov/2092ce17e99b5196bdddc322cf285aa2 to your computer and use it in GitHub Desktop.
emacs-nw
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| orig=`readlink $0` | |
| : ${orig:=$0} # Otherwise you can't run it directly | |
| ${orig%/*}/Emacs -nw "$@" | |
| # Use this file as a symlink target to easily create a "terminal only" emacs: | |
| # ln -s /Applications/Emacs.app/Contents/MacOS/emacs-nw /usr/local/bin/emacs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment