diff --git a/lib/private/mimetypes.list.php b/lib/private/mimetypes.list.php
index 3034c2777f7e3d11073ba2bbd116def6efea25ab..740982910e0776c6abf518e91aff18b301e167c9 100644
--- a/lib/private/mimetypes.list.php
+++ b/lib/private/mimetypes.list.php
@@ -108,4 +108,7 @@ return array(
 	'cc' => 'text/x-c',
 	'cpp' => 'text/x-c++src',
 	'c++' => 'text/x-c++src',
+	'sh' => 'text/x-shellscript',
+	'bash' => 'text/x-shellscript',
+	'sh-lib' => 'text/x-shellscript',
 );