How to change SBCL's current directory?

前端 未结 5 1902
孤街浪徒
孤街浪徒 2021-02-08 10:25

It is very easy to change CLisp\'s current working directory:

>cat ~/.clisprc.lisp 
;;; The following lines added by ql:add-to-init-file:
#-quicklisp         


        
5条回答
  •  离开以前
    2021-02-08 11:17

    Now i use rlwrap to run SBCL and solves this problem

    $"cat ~/bin/sb"
    breakchars="(){}[],^%$#@\"\";:''|\\"
    
    cd /media/E/www/qachina/db/doc/money/
    exec rlwrap --remember -c -b "$breakchars"  -f "$HOME"/.sbcl_completions sbcl "$@"
    

    then run sb.

提交回复
热议问题