diff options
| author | witchard <witchard@hotmail.co.uk> | 2017-02-18 20:18:44 +0000 |
|---|---|---|
| committer | witchard <witchard@hotmail.co.uk> | 2017-02-18 20:18:44 +0000 |
| commit | ec97349cd4c2dd88bd8dcf125e75819b02102f25 (patch) | |
| tree | 3fda9f76c47d928d8b91eb757a5691afec42dc4f /pygments/lexers/shell.py | |
| parent | 52b6c00fcf8a20501aa1cf812a0d6b25feeef2dd (diff) | |
| download | pygments-git-ec97349cd4c2dd88bd8dcf125e75819b02102f25.tar.gz | |
Added support for text/x-shellscript mime type. Fixes #1332.
Diffstat (limited to 'pygments/lexers/shell.py')
| -rw-r--r-- | pygments/lexers/shell.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/shell.py b/pygments/lexers/shell.py index ceb6f14d..dd869ef5 100644 --- a/pygments/lexers/shell.py +++ b/pygments/lexers/shell.py @@ -38,7 +38,7 @@ class BashLexer(RegexLexer): '*.exheres-0', '*.exlib', '*.zsh', '.bashrc', 'bashrc', '.bash_*', 'bash_*', 'zshrc', '.zshrc', 'PKGBUILD'] - mimetypes = ['application/x-sh', 'application/x-shellscript'] + mimetypes = ['application/x-sh', 'application/x-shellscript', 'text/x-shellscript'] tokens = { 'root': [ |
