I want to play around with guile a scheme dialect from the GNU guix project on a mac.
brew install guileOnly to launch the repl and get this annoying behaviour when pressing the up or down arrows when you expect to see the last command you have run...
^[[A^[[AThe fix for this is to wrap guile in rlwrap:
# Install rlwrap
brew install rlwrap
# Run Guile with readline support
rlwrap guile
# Or create an alias in ~/.zshrc:
echo 'alias guile="rlwrap guile"' >> ~/.zshrc
source ~/.zshrc