Add SBCL configuration
This commit is contained in:
parent
4ee6f52b87
commit
cda0cab859
1 changed files with 18 additions and 0 deletions
18
sbcl/.sbclrc
Normal file
18
sbcl/.sbclrc
Normal file
|
@ -0,0 +1,18 @@
|
|||
;; -*- mode: lisp; -*-
|
||||
|
||||
;;; The following lines added by ql:add-to-init-file:
|
||||
#-quicklisp
|
||||
(let ((quicklisp-init (merge-pathnames ".local/share/quicklisp/setup.lisp"
|
||||
(user-homedir-pathname))))
|
||||
(when (probe-file quicklisp-init)
|
||||
(load quicklisp-init)))
|
||||
|
||||
;;; Enable linedit, a readline-like module for SBCL. Install through
|
||||
;;; (ql:quickload "linedit").
|
||||
(if (member "--no-linedit" sb-ext:*posix-argv* :test 'equal)
|
||||
(setf sb-ext:*posix-argv*
|
||||
(remove "--no-linedit" sb-ext:*posix-argv* :test 'equal))
|
||||
(when (interactive-stream-p *terminal-io*)
|
||||
(require :sb-aclrepl)
|
||||
(require :linedit)
|
||||
(funcall (intern "INSTALL-REPL" :linedit) :wrap-current t)))
|
Loading…
Reference in a new issue