system: Add default '.nanorc' with syntax highlighting.

* gnu/system/shadow.scm (default-skeletons): Add ".nanorc".
This commit is contained in:
Ludovic Courtès 2018-04-04 16:40:11 +02:00
parent 723225c32c
commit 76a77ccaed
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 3 additions and 0 deletions

View File

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