-
-
Save vindarel/b414240fcf498d6550e6dc0e6fb63ff6 to your computer and use it in GitHub Desktop.
Full screen terminal Slime REPL for Common Lisp (one-liner)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; (ql:quickload "str") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# INIT_FILE=${1:-init.slime} | |
# one-liner to start Emacs with a full-window Slime REPL. | |
# See the parent gist for a use of init.slime | |
emacs -nw \ | |
--eval "(defun hack-session-init () (delete-other-windows))" \ | |
--eval "(add-hook 'slime-connected-hook 'hack-session-init)" \ | |
--eval "(menu-bar-mode -1)" \ | |
--eval "(setq-default mode-line-format nil)" \ | |
--eval "(slime)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment