From dc8a304a5627db9f9a1a026e7e4f1a3af9cf3659 Mon Sep 17 00:00:00 2001 From: jgrogan Date: Sun, 6 Oct 2024 12:08:36 +0100 Subject: [PATCH] Add guile config --- guile/.guile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 guile/.guile diff --git a/guile/.guile b/guile/.guile new file mode 100644 index 0000000..ce2bdfc --- /dev/null +++ b/guile/.guile @@ -0,0 +1,18 @@ +(cond ((false-if-exception (resolve-interface '(ice-9 readline))) + => + (lambda (module) + ;; Enable completion and input history at the REPL. + ((module-ref module 'activate-readline)))) + (else + (display "Consider installing the 'guile-readline' package for +convenient interactive line editing and input history.\n\n"))) + + (unless (getenv "INSIDE_EMACS") + (cond ((false-if-exception (resolve-interface '(ice-9 colorized))) + => + (lambda (module) + ;; Enable completion and input history at the REPL. + ((module-ref module 'activate-colorized)))) + (else + (display "Consider installing the 'guile-colorized' package +for a colorful Guile experience.\n\n"))))