Hello Ludovic. Apologies for a delay. ludo@gnu.org (Ludovic Courtès) writes: > Oleg Pykhalov skribis: > >> * guix/scripts/repl.scm (guix-repl): Add 'colorized' and 'readline' support. >> --- >> guix/scripts/repl.scm | 17 +++++++++++++++++ >> 1 file changed, 17 insertions(+) >> >> diff --git a/guix/scripts/repl.scm b/guix/scripts/repl.scm >> index 1a105f51e..eeaf4acc4 100644 >> --- a/guix/scripts/repl.scm >> +++ b/guix/scripts/repl.scm >> @@ -188,6 +188,23 @@ call THUNK." >> (save-module-excursion >> (lambda () >> (set-current-module user-module) >> + (cond ((false-if-exception (resolve-interface '(ice-9 readline))) >> + => >> + (lambda (module) >> + ;; Enable completion and input history at the REPL. >> + ((module-ref module 'activate-readline)))) > > What about simply loading ~/.guile when it exists? Oh, sure. I should thought about this way. The patch is attached below. <#secure method=pgpmime mode=sign>