civodul pushed a commit to branch master
in repository guix.

commit 76a77ccaed0f4259e928fc57ae335a0f583d0032
Author: Ludovic Courtès <l...@gnu.org>
Date:   Wed Apr 4 16:40:11 2018 +0200

    system: Add default '.nanorc' with syntax highlighting.
    
    * gnu/system/shadow.scm (default-skeletons): Add ".nanorc".
---
 gnu/system/shadow.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm
index 119f7e4..ef5b8da 100644
--- a/gnu/system/shadow.scm
+++ b/gnu/system/shadow.scm
@@ -195,6 +195,9 @@ set auto-load safe-path /gnu/store/*/lib\n")))
     `((".bash_profile" ,profile)
       (".bashrc" ,bashrc)
       (".zlogin" ,zlogin)
+      (".nanorc" ,(plain-file "nanorc" "\
+# Include all the syntax highlighting modules.
+include /run/current-system/profile/share/nano/*.nanorc\n"))
       (".Xdefaults" ,xdefaults)
       (".guile" ,(plain-file "dot-guile"
                              "(cond ((false-if-exception (resolve-interface 
'(ice-9 readline)))

Reply via email to