config/bash/emacs.sh

8 lines
268 B
Bash
Raw Permalink Normal View History

# Make emacs the default editor, default to non-gui mode.
2017-05-26 15:53:03 +00:00
# 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