From 76a77ccaed0f4259e928fc57ae335a0f583d0032 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 4 Apr 2018 16:40:11 +0200 Subject: 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(+) (limited to 'gnu/system/shadow.scm') 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 @@ (define copy-guile-wm `((".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))) -- cgit v1.2.3