]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(zip): Fix for FreeBSD's unzip command
authorDamien <141588647+xrandomname@users.noreply.github.com>
Mon, 5 Aug 2024 18:21:18 +0000 (20:21 +0200)
committerChristian Brabandt <cb@256bit.org>
Mon, 5 Aug 2024 18:21:18 +0000 (20:21 +0200)
commitf0e9b72c8fdd47b9b410a11edf7479953cb2aed9
treef43330b4568e0e7797fbc1738a33ef32ed9df7e8
parent217d3c17c6fa8d1223fa8dd39efd8c32897f9441
runtime(zip): Fix for FreeBSD's unzip command

Problem:  Cannot browse zipfiles with the unzip program found
  on FreeBSD.
Solution: Adjust command arguments.

Unzip found on FreeBSD complain about missing argument with the
zipinfo modifier '-Z -1'. Joining arguments seems to work
for both implementations.

Also change `:sil!` to `:sil` so that error messages are properly
reported (per review of Christian Brabandt).

related: #15411

Signed-off-by: Damien <141588647+xrandomname@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/autoload/zip.vim