Merge.
author |
Steve Losh <steve@stevelosh.com> |
date |
Sun, 16 Dec 2018 17:59:46 -0500 |
parents |
31ddcddb32bf |
children |
384770359545 |
(setf compiler::*user-cc-flags* "-Wno-shift-negative-value")
(defvar *last-package* nil)
(defvar *cached-prompt* nil)
(defun sjl-prompt ()
(when (not (eq *last-package* *package*))
(setf *cached-prompt*
(format nil "~%[ECL] ~A> "
(or (first (package-nicknames *package*))
(package-name *package*))))
(setf *last-package* *package*))
(terpri)
(princ *cached-prompt*))
(setf system:*tpl-prompt-hook* #'sjl-prompt)
(setf *print-pretty* nil
*print-escape* t
*print-right-margin* 100
*print-miser-width* nil
*print-length* 1000)
#-quicklisp
(let ((quicklisp-init (merge-pathnames ".quicklisp/setup.lisp"
(user-homedir-pathname))))
(when (probe-file quicklisp-init)
(load quicklisp-init)))