From 88248f447782a27cd311f501cd076bd84cca9773 Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Tue, 29 Nov 2022 05:29:20 +0000 Subject: [PATCH] Update definition of "modern" for nanorc --- dot_nanorc.tmpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dot_nanorc.tmpl b/dot_nanorc.tmpl index c5191ad..08ee2d0 100644 --- a/dot_nanorc.tmpl +++ b/dot_nanorc.tmpl @@ -1,4 +1,8 @@ -{{- if eq .chezmoi.osRelease.id "fedora" }} +{{- if or + (eq .machinetype "workstation") + (eq .chezmoi.osRelease.id "fedora") + (and (eq .chezmoi.osRelease.id "almalinux" "centos" "rhel") (gt (atoi .chezmoi.osRelease.versionID) 7)) + (and (eq .chezmoi.osRelease.id "debian") (gt (atoi .chezmoi.osRelease.versionID) 9 )) -}} set linenumbers set titlecolor bold,lightwhite,blue set promptcolor lightwhite,lightblack