diff --git a/home/.emacs.d/init.el b/home/.emacs.d/init.el index 4b01631..a858cb5 100644 --- a/home/.emacs.d/init.el +++ b/home/.emacs.d/init.el @@ -59,6 +59,11 @@ ;; Make all files show a linenum (global-linum-mode) +;; Configure SLIME +;; Inferior Lisp interpreter is found at $CL_BIN +(setq inferior-lisp-program (getenv "CL_BIN")) +(setq slime-contribs '(slime-fancy)) + ;; Load my default theme (load-theme 'cyberpunk t) (custom-set-variables diff --git a/home/.zshrc b/home/.zshrc index 98a08c0..b8ca25a 100644 --- a/home/.zshrc +++ b/home/.zshrc @@ -39,6 +39,16 @@ fi export GOPATH="$HOME/go" export PATH="$PATH:$HOME/go/bin" +# CL Setup +# if SBCL is installed point to that path +sbcl_bin="$(which sbcl 2> /dev/null | head -n 1)" +if [[ ${sbcl_bin:0:4} == "sbcl" ]]; then + # Handle a case where sbcl is not installed + CL_BIN= +else + CL_BIN=$sbcl_bin +fi + if [ -f "$HOME/.update_dotfiles.sh" ]; then /usr/bin/env sh $HOME/.update_dotfiles.sh fi