summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-04-04 16:40:11 +0200
committerLudovic Courtès <ludo@gnu.org>2018-04-04 23:14:35 +0200
commit76a77ccaed0f4259e928fc57ae335a0f583d0032 (patch)
tree2dca7595e8ebfe703d9cf0a63cd0b7b0fd4313e1 /gnu
parent723225c32cc701bf64a8e9c55b33235084d282a5 (diff)
downloadguix-76a77ccaed0f4259e928fc57ae335a0f583d0032.tar.gz
system: Add default '.nanorc' with syntax highlighting.
* gnu/system/shadow.scm (default-skeletons): Add ".nanorc".
Diffstat (limited to 'gnu')
-rw-r--r--gnu/system/shadow.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm
index 119f7e4d0b..ef5b8dab92 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)))