Browse Source

SLIME configuration

Added a environment variable to the zsh profile
Added the SLIME basic config to the emacs init.el
master
Drew Short 9 years ago
parent
commit
eaf031d676
  1. 5
      home/.emacs.d/init.el
  2. 10
      home/.zshrc

5
home/.emacs.d/init.el

@ -59,6 +59,11 @@
;; Make all files show a linenum ;; Make all files show a linenum
(global-linum-mode) (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 my default theme
(load-theme 'cyberpunk t) (load-theme 'cyberpunk t)
(custom-set-variables (custom-set-variables

10
home/.zshrc

@ -39,6 +39,16 @@ fi
export GOPATH="$HOME/go" export GOPATH="$HOME/go"
export PATH="$PATH:$HOME/go/bin" 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 if [ -f "$HOME/.update_dotfiles.sh" ]; then
/usr/bin/env sh $HOME/.update_dotfiles.sh /usr/bin/env sh $HOME/.update_dotfiles.sh
fi fi

Loading…
Cancel
Save