Use emacs as the graphical $EDITOR

This commit is contained in:
Anthony Rose 2020-06-14 20:42:41 +01:00
parent 92d76eb1c5
commit d7cfb6a84b

View file

@ -263,8 +263,8 @@ if [ -x /usr/bin/yum ] && [ ! -x /usr/bin/dnf ]; then
alias dnf='yum' alias dnf='yum'
fi fi
if test -n "$DISPLAY" && test -x /usr/bin/subl; then if test -n "$DISPLAY" && test -x /usr/bin/emacsclient; then
export EDITOR="/usr/bin/subl -nw" export EDITOR="/usr/bin/emacsclient -c -a vi"
fi fi
if [ -x /usr/bin/svnlite ] && [ ! -x /usr/local/bin/svn ]; then if [ -x /usr/bin/svnlite ] && [ ! -x /usr/local/bin/svn ]; then