#!/bin/sh

if [ ! -e ~/.slime-repo ] ; then
    git clone https://github.com/slime/slime.git ~/.slime-repo
fi


sbcl --eval "(load \"$HOME/.slime-repo/swank-loader.lisp\")" \
     --eval "(swank-loader:init)" \
     --eval "(setf swank:*use-dedicated-output-stream* nil)" \
     --eval "(swank:create-server :dont-close t)" \
     --non-interactive
