Initial commit

This commit is contained in:
2025-07-11 18:08:12 +03:00
commit 74c6a29a13
478 changed files with 23775 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
function archive-preview
set archive "$argv[1]"
set supported_archive_formats tar.gz tar.bz2 tar.xz zip rar 7z
for format in $supported_archive_formats
if string match -q "application/$format" (file -b --mime-type "$archive")
ouch list --tree --no "$archive"
exit 0
end
end
end