nano-devel
[Top][All Lists]
Advanced

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

[Nano-devel] [PATCH] shell syntax: support dash/openrc scripts


From: Mike Frysinger
Subject: [Nano-devel] [PATCH] shell syntax: support dash/openrc scripts
Date: Tue, 17 Feb 2015 18:41:36 -0500

URL: https://bugs.gentoo.org/489254
---
 doc/syntax/sh.nanorc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/syntax/sh.nanorc b/doc/syntax/sh.nanorc
index 823cc5d..b621d42 100644
--- a/doc/syntax/sh.nanorc
+++ b/doc/syntax/sh.nanorc
@@ -1,7 +1,7 @@
 ## Here is an example for Bourne shell scripts.
 
 syntax "sh" "\.sh$"
-header "^#!.*/(ba|k|pdk)?sh[-0-9_]*"
+header "^#!.*/((ba|da|k|pdk)?sh[-0-9_]*|openrc-run|runscript)"
 magic "(POSIX|Bourne.*) shell script text"
 
 icolor brightgreen "^[0-9A-Z_]+\(\)"
-- 
2.3.0




reply via email to

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