Add OS X check to emacs code.
This commit is contained in:
parent
2fa5caec8a
commit
84956b648f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user