guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: system: Add default '.nanorc' with syntax highlighting.


From: Ludovic Courtès
Subject: 01/02: system: Add default '.nanorc' with syntax highlighting.
Date: Wed, 4 Apr 2018 17:15:01 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 76a77ccaed0f4259e928fc57ae335a0f583d0032
Author: Ludovic Courtès <address@hidden>
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

[Prev in Thread] Current Thread [Next in Thread]