Add Readline support for Guile.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Wed, 27 Jun 2012 23:25:31 +0300
changeset 466 4c5042015cd7
parent 465 6f760b455ec6
child 467 6f8820ca7f1c
Add Readline support for Guile.
.guile
Makefile
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.guile	Wed Jun 27 23:25:31 2012 +0300
@@ -0,0 +1,8 @@
+;-*- mode: scheme -*-
+
+;; Readline support.
+(use-modules (ice-9 readline))
+(activate-readline)
+(readline-enable 'history-file)
+(readline-set! history-length 10000)
+
--- a/Makefile	Wed Jun 27 22:39:47 2012 +0300
+++ b/Makefile	Wed Jun 27 23:25:31 2012 +0300
@@ -36,8 +36,9 @@
 OVERRIDDEN_ITEMS := \
     .fvwm .xxkbrc .xmodmaprc .fonts.conf \
     .inputrc .minttyrc .Xdefaults .xinitrc .xserverrc .screenrc .dircolors \
-    .bashrc .bash_path .bash_completion .zshrc .vimrc .ssh .pystartup \
-    .pylintrc \
+    .bashrc .bash_path .bash_completion .zshrc .vimrc .ssh \
+    .pylintrc .pystartup \
+    .guile \
     .signature .muttrc .tidy \
     .dictrc \
     .hgrc .hgignore .hgstyle .bazaar .gitconfig .gitignore .cvsrc \