diff options
-rwxr-xr-x | dotfiles/.local/bin/scope | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dotfiles/.local/bin/scope b/dotfiles/.local/bin/scope index d3041c1..5a6c157 100755 --- a/dotfiles/.local/bin/scope +++ b/dotfiles/.local/bin/scope @@ -34,7 +34,7 @@ handle_mime() { case "${mimetype}" in text/html) w3m -dump "${FILE_PATH}" ;; text/troff) man ./ "${FILE_PATH}" | col -b ;; - text/* | */xml | */csv) + text/* | */xml | */csv | */json) if [ "$( stat --printf='%s' -- "${FILE_PATH}" )" -gt "${HIGHLIGHT_SIZE_MAX}" ]; then exit 2 fi |