diff options
Diffstat (limited to '.functions')
-rw-r--r-- | .functions | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -13,7 +13,7 @@ fi # Create a data URL from a file function dataurl() { - local mimeType=$(file --mime-type "$1" | cut -d ' ' -f2) + local mimeType=$(file -b --mime-type "$1") if [[ $mimeType == text/* ]]; then mimeType="${mimeType};charset=utf-8" fi |