Add OS X check to emacs code.

This commit is contained in:
Anna Wiggins 2017-05-26 08:53:03 -07:00
parent 2fa5caec8a
commit 84956b648f
No known key found for this signature in database
GPG Key ID: 682893DD0448ED78

View File

@ -1,3 +1,7 @@
# Make emacs the default editor, default to non-gui mode. # Make emacs the default editor, default to non-gui mode.
alias emacs="/usr/bin/emacs -nw" # On OS X, skip this, since emacs will be installed locally through
export EDITOR="/usr/bin/emacs -nw" # homebrew.
if [ $(uname -a | cut -f 1 -d ' ') != 'Darwin' ]; then
alias emacs="/usr/bin/emacs -nw"
export EDITOR="/usr/bin/emacs -nw"
fi