lib/rouge/lexers/shell.rb in rouge-3.3.0 vs lib/rouge/lexers/shell.rb in rouge-3.4.0
- old
+ new
@@ -8,10 +8,10 @@
desc "Various shell languages, including sh and bash"
tag 'shell'
aliases 'bash', 'zsh', 'ksh', 'sh'
filenames '*.sh', '*.bash', '*.zsh', '*.ksh',
- '.bashrc', '.zshrc', '.kshrc', '.profile', 'PKGBUILD'
+ '.bashrc', '.zshrc', '.kshrc', '.profile', 'APKBUILD', 'PKGBUILD'
mimetypes 'application/x-sh', 'application/x-shellscript'
def self.detect?(text)
return true if text.shebang?(/(ba|z|k)?sh/)