diff --git a/file_previewer.sh b/file_previewer.sh index 37fad32..b5f0059 100755 --- a/file_previewer.sh +++ b/file_previewer.sh @@ -35,6 +35,9 @@ case "$(mimetype --brief -- "$file")" in application/x-pcapng) tshark -r "$file" | bat --theme='base16' --terminal-width "$(($width-4))" --force-colorization;; # the --read-file option does not seem to work + application/x-zstd-compressed-tar) + tar --list --use-compress-program zstd --file "$file" | bat --language=java --theme='base16' --terminal-width "$(($width-4))" --force-colorization;; + application/zip) unzip -lv "$file" | bat --theme='base16' --terminal-width "$(($width-4))" --force-colorization;;