wok-6.x view nano/stuff/patches/usr_share_nano_sh.nanorc-6.2 @ rev 25259
qt5: modified SOURCE
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 07:15:37 2022 +0100 (2022-07-15) |
parents | |
children |
line source
1 --- usr/share/nano/sh.nanorc.original
2 +++ usr/share/nano/sh.nanorc
3 @@ -3,4 +3,4 @@
4 -syntax sh "(\.sh|(\.|/)(a|ba|c|da|k|mk|pdk|tc|z)sh(rc|_profile)?|/(etc/|\.)profile)$"
5 +syntax sh "\.sh$" "receipt"
6 header "^#!.*/((env[[:blank:]]+)?((a|ba|c|da|k|mk|pdk|tc|z)?sh)|busybox[[:blank:]]+sh|openrc-run|runscript)\>"
7 header "-\*-.*shell-script.*-\*-"
8 magic "(POSIX|Bourne-Again) shell script.*text"