summaryrefslogtreecommitdiff
path: root/pygments/lexers/shell.py
diff options
context:
space:
mode:
authorwitchard <witchard@hotmail.co.uk>2017-02-18 20:18:44 +0000
committerwitchard <witchard@hotmail.co.uk>2017-02-18 20:18:44 +0000
commitec97349cd4c2dd88bd8dcf125e75819b02102f25 (patch)
tree3fda9f76c47d928d8b91eb757a5691afec42dc4f /pygments/lexers/shell.py
parent52b6c00fcf8a20501aa1cf812a0d6b25feeef2dd (diff)
downloadpygments-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.py2
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': [