Skip to content

Instantly share code, notes, and snippets.

@Goheeca
Last active August 29, 2022 11:01
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Goheeca/8144865f3b241ecc9092454ec1b49a6a to your computer and use it in GitHub Desktop.
Save Goheeca/8144865f3b241ecc9092454ec1b49a6a to your computer and use it in GitHub Desktop.
Clean SLIME REPL
(ql:quickload "agnostic-lizard")
#!/bin/sh
INIT_FILE=${1:-init.slime}
emacs -nw \
--eval "(defun hack-session-init () (delete-other-windows) (execute-kbd-macro (kbd \"RET\")) (insert-file-contents \"$INIT_FILE\") (execute-kbd-macro (kbd \"RET\")))" \
--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