-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This was its intended use--did I even test this??
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#!/bin/sh | ||
${0%/*}/Emacs -nw "$@" | ||
orig=`readlink $0` | ||
: ${orig:=$0} # Otherwise you can't run it directly | ||
${orig%/*}/Emacs -nw "$@" | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
caldwell
Author
Owner
|
||
|
||
# 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 |
@caldwell this script is not whitespace-compatible. Easily found and fixed with
shellcheck
. Please make all scripts shellcheck-clean, shellcheck is really a no-brainer.PS: thanks for Emacs on mac!