Commit bb4edd01 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

Recognizing also dash, openrc and runscript as shell scripts.

Patch by Mike Frysinger.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5120 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 4 additions and 1 deletion
+4 -1
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.
......
## 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_]+\(\)"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment