From 693a06bf87d35e2ae2a35d9b8be1201d2a67685a Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Tue, 23 Jun 2015 00:46:23 +0100 Subject: [PATCH] Update emacs env setup --- shell/emacs.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/shell/emacs.sh b/shell/emacs.sh index 6ec9da5..31dcb51 100644 --- a/shell/emacs.sh +++ b/shell/emacs.sh @@ -2,9 +2,16 @@ # Emacs # +# OS X systems. if [ -f "/Applications/Emacs.app/Contents/MacOS/Emacs" ]; then alias emacs="/Applications/Emacs.app/Contents/MacOS/Emacs -nw" fi + if [ -f "/Applications/Emacs.app/Contents/MacOS/bin/emacsclient" ]; then alias emacsclient="/Applications/Emacs.app/Contents/MacOS/bin/emacsclient" fi + +# *nix systems. +if [ -d "/opt/emacs/bin" ]; then + path_append "/opt/emacs/bin" +fi