Tweak your Guile REPL
If you are new to Guile and start the REPL right away you will find yourself with no history, no completions, no colors and even the cursor keys not working as expected.
Fortunately, all these problems can be solved by loading a couple of modules.
The first one is to enable readline support. This will enable command history, completions (pressing TAB), cursors will work properly, you will have parenthesis matching, Emacs key bindings support and more.
Simply put this in ~/.guile:
(use-modules (ice-9 readline)) (activate-readline)
To colorize the REPL there is also an awesome new module, nala-repl. This module doesn't come with Guile yet, so you have to clone the repository and install it yourself:
$ git clone git://github.com/NalaGinrut/nala-repl.git $ cd nala-repl $ sudo make install
And, as before, add the following lines to your ~/.guile:
(use-modules (nala colorized)) (activate-colorized)
nala-repl provides some more nice modules, make sure to read the README file.
Now, go and enjoy the Guile REPL!