summaryrefslogtreecommitdiff
path: root/gnu/system
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-07-25 12:23:26 +0200
committerLudovic Courtès <ludo@gnu.org>2017-07-25 12:23:26 +0200
commita84ea2191e3781317b53bacf392343eb3b15e1be (patch)
treee45f3278503592125d9a146d86a3b1d06d362dcd /gnu/system
parent585347d7aa3a2a23359b354a550f161d5102c517 (diff)
system: Add a default '.guile' skeleton.
* gnu/system/shadow.scm (default-skeletons): Add ".guile".
Diffstat (limited to 'gnu/system')
-rw-r--r--gnu/system/shadow.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm
index 712e6df8d8..4e6f645e93 100644
--- a/gnu/system/shadow.scm
+++ b/gnu/system/shadow.scm
@@ -189,6 +189,11 @@ set debug-file-directory ~/.guix-profile/lib/debug\n")))
(".bashrc" ,bashrc)
(".zlogin" ,zlogin)
(".Xdefaults" ,xdefaults)
+ (".guile" ,(plain-file "dot-guile"
+ (string-append
+ "(use-modules (ice-9 readline))\n\n"
+ ";; Enable completion at the REPL.\n"
+ "(activate-readline)\n")))
(".guile-wm" ,guile-wm)
(".gdbinit" ,gdbinit))))