diff options
-rw-r--r-- | home/.sbclrc | 2 | ||||
-rwxr-xr-x | new-user-setup.sh | 14 |
2 files changed, 10 insertions, 6 deletions
diff --git a/home/.sbclrc b/home/.sbclrc index 2c2bd8a..6dd45fd 100644 --- a/home/.sbclrc +++ b/home/.sbclrc | |||
@@ -5,7 +5,7 @@ | |||
5 | 5 | ||
6 | ;; Use Quicklisp | 6 | ;; Use Quicklisp |
7 | #-quicklisp | 7 | #-quicklisp |
8 | (let ((quicklisp-init (merge-pathnames ".roswell/lisp/quicklisp/setup.lisp" | 8 | (let ((quicklisp-init (merge-pathnames "lisp/quicklisp/setup.lisp" |
9 | (user-homedir-pathname)))) | 9 | (user-homedir-pathname)))) |
10 | (when (probe-file quicklisp-init) | 10 | (when (probe-file quicklisp-init) |
11 | (load quicklisp-init))) | 11 | (load quicklisp-init))) |
diff --git a/new-user-setup.sh b/new-user-setup.sh index b925b1b..e9b2e59 100755 --- a/new-user-setup.sh +++ b/new-user-setup.sh | |||
@@ -87,12 +87,16 @@ while | |||
87 | x11/arandr \ | 87 | x11/arandr \ |
88 | x11-fonts/nerd-fonts \ | 88 | x11-fonts/nerd-fonts \ |
89 | x11/xorg | 89 | x11/xorg |
90 | # Setup Lisp | 90 | # Install Quicklisp |
91 | if command -v ros &> /dev/null; then | 91 | if [[ ! -d $HOME/lisp/quicklisp ]]; then |
92 | ros &> /dev/null | 92 | curl -o /tmp/ql.lisp http://beta.quicklisp.org/quicklisp.lisp |
93 | echo -e "${GREEN}INFO : Roswell setup complete.${ENDCOLOR}" | 93 | sbcl --no-sysinit --no-userinit --load /tmp/ql.lisp \ |
94 | --eval '(quicklisp-quickstart:install :path "~/lisp/quicklisp")' \ | ||
95 | --quit \ | ||
96 | > /dev/null # minimize output | ||
97 | echo -e "${GREEN}INFO : Installed Quicklisp${ENDCOLOR}" | ||
94 | else | 98 | else |
95 | echo -e "${YELLOW}Skipped: Roswell not installed.${ENDCOLOR}" | 99 | echo -e "${YELLOW}Skipped: Quicklisp. Already installed${ENDCOLOR}" |
96 | fi | 100 | fi |
97 | 101 | ||
98 | echo "INFO : Packages installed and updated." | 102 | echo "INFO : Packages installed and updated." |