sbclrc @ 579af8ed8dcb

More
author Steve Losh <steve@stevelosh.com>
date Sat, 15 Dec 2018 16:57:13 -0500
parents 07fbabc1f02d
children 2f3f2eb8cfdf
;; The following lines added by ql:add-to-init-file:
 #-quicklisp
 (let ((quicklisp-init (merge-pathnames ".quicklisp/setup.lisp"
                                        (user-homedir-pathname))))
   (when (probe-file quicklisp-init)
     (load quicklisp-init)))
;;

(setf (ql-config:config-value "proxy-url") "http://127.0.0.1:14600")

; (pushnew "~/lib/asdf/" asdf:*central-registry* :test #'equal)

(defvar *last-package* nil)
(defvar *cached-prompt* nil)

(defun package-prompt (stream)
  (when (not (eq *last-package* *package*))
    (setf *cached-prompt*
          (format nil "~%[SBCL] ~A> "
                  (or (first (package-nicknames *package*))
                      (package-name *package*))))
    (setf *last-package* *package*))
  (terpri)
  (princ *cached-prompt* stream))

(setf sb-int:*repl-prompt-fun* #'package-prompt)
(setf sb-debug:*debug-beginner-help-p* nil)

(defun :fg ()
  (sb-thread:release-foreground))

; '(ql:update-client)' --eval '(ql:update-all-dists)'