aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--home/.sbclrc12
-rwxr-xr-xnew-user-setup.sh14
2 files changed, 26 insertions, 0 deletions
diff --git a/home/.sbclrc b/home/.sbclrc
new file mode 100644
index 0000000..6dd45fd
--- /dev/null
+++ b/home/.sbclrc
@@ -0,0 +1,12 @@
1;;;; SBCL Configuration
2;;; FILE : dotfiles.core/home/.sbclrc
3;;; TARGET: ~/.sbclrc
4;;; AUTHOR: tgwil
5
6;; Use Quicklisp
7#-quicklisp
8(let ((quicklisp-init (merge-pathnames "lisp/quicklisp/setup.lisp"
9 (user-homedir-pathname))))
10 (when (probe-file quicklisp-init)
11 (load quicklisp-init)))
12
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
158place_file $HOME/dotfiles.core/home/.gitconfig $HOME/.gitconfig 158place_file $HOME/dotfiles.core/home/.gitconfig $HOME/.gitconfig
159echo -e "${WARN}WARNING: ~/.gitconfig.local should be placed manually${ENDCOLOR}" 159echo -e "${WARN}WARNING: ~/.gitconfig.local should be placed manually${ENDCOLOR}"
160 160
161# Common Lisp SBCL Configuration
162place_file $HOME/dotfiles.core/home/.sbclrc $HOME/.sbclrc
163place_directory $HOME/lisp
164# Install Quicklisp
165if [[ ! -d $HOME/lisp/quicklisp ]]; then
166 curl -o /tmp/ql.lisp http://beta.quicklisp.org/quicklisp.lisp
167 sbcl --no-sysinit --no-userinit --load /tmp/ql.lisp \
168 --eval '(quicklisp-quickstart:install :path "~/lisp/quicklisp")' \
169 --quit \
170 > /dev/null # minimize output
171 echo -e "${GREEN}INFO : Installed Quicklisp${ENDCOLOR}"
172else
173 echo -e "${YELLOW}Skipped: Quicklisp. Already installed${ENDCOLOR}"
174fi
161 175
162######################################################################## 176########################################################################
163## END OF SCRIPT 177## END OF SCRIPT