config/bash/emacs.sh
2017-05-26 08:53:03 -07:00

8 lines
268 B
Bash

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