summaryrefslogtreecommitdiff
path: root/dotfiles/.guile
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2023-08-12 09:59:47 -0400
committerDavid Thompson <dthompson2@worcester.edu>2023-08-12 09:59:47 -0400
commit5a7234cd054ac71bd5116a549371bfced5a4fb0e (patch)
tree066084fbc504c668563424ef73b3011b0923abc9 /dotfiles/.guile
parenta6ab188c3c9b40e14e3122aea1c70f14c2b4b9bb (diff)
Update rise home config.
Diffstat (limited to 'dotfiles/.guile')
-rw-r--r--dotfiles/.guile20
1 files changed, 20 insertions, 0 deletions
diff --git a/dotfiles/.guile b/dotfiles/.guile
new file mode 100644
index 0000000..82ba85b
--- /dev/null
+++ b/dotfiles/.guile
@@ -0,0 +1,20 @@
+;; -*- scheme -*-
+
+(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"))))