diff --git a/ChangeLog b/ChangeLog index aa2fc5e30982de780d1cb27a44536ad98ee26094..bdfe2ee03f651c8ac4793e374808f4cc2355ab0d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2015-02-18 Mike Frysinger <vapier@gentoo.org> + * doc/syntax/sh.nanorc: Recognize also dash, openrc and runscript. + 2015-02-16 Mike Frysinger <vapier@gentoo.org> * .gitignore: Ignore the autotools 'compile' file. diff --git a/doc/syntax/sh.nanorc b/doc/syntax/sh.nanorc index 36b049fce46e15657292c06ec69534591119a9bd..074e03ac4bfce060bfffa153696a20fa16adf107 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_]+\(\)"