lean2/bin/leanemacs.in
2015-01-30 13:05:30 -08:00

8 lines
272 B
Bash

#!/usr/bin/env bash
MY_PATH="`dirname \"$0\"`" # relative
MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
export LEAN_ROOTDIR="$MY_PATH/.."
export LEAN_EMACS_PATH="$MY_PATH/../@EMACS_LISP_DIR@"
emacs -load $LEAN_EMACS_PATH/load-lean.el