From 23c407dc322b6857e17b12ac185a531c77eb2c20 Mon Sep 17 00:00:00 2001 From: Tristan Williams Date: Sun, 13 Oct 2024 14:09:26 -0400 Subject: Add SBCL configuration --- new-user-setup.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'new-user-setup.sh') diff --git a/new-user-setup.sh b/new-user-setup.sh index 98e480b..7ce8b0f 100755 --- a/new-user-setup.sh +++ b/new-user-setup.sh @@ -158,6 +158,20 @@ place_file $HOME/dotfiles.core/home/.gnupg/gpg-agent.conf $HOME/.gnupg/gpg-agent place_file $HOME/dotfiles.core/home/.gitconfig $HOME/.gitconfig echo -e "${WARN}WARNING: ~/.gitconfig.local should be placed manually${ENDCOLOR}" +# Common Lisp SBCL Configuration +place_file $HOME/dotfiles.core/home/.sbclrc $HOME/.sbclrc +place_directory $HOME/lisp +# Install Quicklisp +if [[ ! -d $HOME/lisp/quicklisp ]]; then + curl -o /tmp/ql.lisp http://beta.quicklisp.org/quicklisp.lisp + sbcl --no-sysinit --no-userinit --load /tmp/ql.lisp \ + --eval '(quicklisp-quickstart:install :path "~/lisp/quicklisp")' \ + --quit \ + > /dev/null # minimize output + echo -e "${GREEN}INFO : Installed Quicklisp${ENDCOLOR}" +else + echo -e "${YELLOW}Skipped: Quicklisp. Already installed${ENDCOLOR}" +fi ######################################################################## ## END OF SCRIPT -- cgit v1.2.3