1- *pi_zip.txt* For Vim version 9.1. Last change: 2025 Jul 15
1+ *pi_zip.txt* For Vim version 9.1. Last change: 2025 Sep 22
22
33 +====================+
44 | Zip File Interface |
@@ -50,7 +50,7 @@ Copyright: Copyright (C) 2005-2015 Charles E Campbell *zip-copyright*
5050 allow spaces and whatnot in filenames; however, if it is incorrectly
5151 guessing the quote to use for your setup, you may use >
5252 g:zip_shq
53- < which by default is a single quote under Unix (') and a double quote
53+ < which by default is a single quote under Unix (') and a double quote
5454 under Windows ("). If you'd rather have no quotes, simply set
5555 g:zip_shq to the empty string (let g:zip_shq= "") in your <.vimrc>.
5656
@@ -77,6 +77,16 @@ Copyright: Copyright (C) 2005-2015 Charles E Campbell *zip-copyright*
7777 "0": >
7878 let g:zip_exec=0
7979<
80+ FALLBACK TO POWERSHELL CORE~
81+
82+ This plugin will first attempt to use the (more capable) GNU zip/unzip
83+ commands. If these commands are not available or fail, and the user is
84+ using PowerShell Core (i.e., the 'shell' option matches "pwsh"), the
85+ plugin will fall back to a PowerShell Core cmdlet. The PowerShell Core
86+ cmdlets are limited: they cannot write or extract files within
87+ subdirectories of a zip archive. The advantage, however, is that no
88+ separate unzip binary needs to be installed.
89+
8090 PREVENTING LOADING~
8191
8292 If for some reason you do not wish to use vim to examine zipped files,
@@ -112,6 +122,7 @@ Copyright: Copyright (C) 2005-2015 Charles E Campbell *zip-copyright*
112122==============================================================================
1131234. History *zip-history* {{{1
114124 unreleased:
125+ Sep 19, 2025 * support PowerShell Core
115126 Jul 12, 2025 * drop ../ on write to prevent path traversal attacks
116127 Mar 11, 2025 * handle filenames with leading '-' correctly
117128 Aug 21, 2024 * simplify condition to detect MS-Windows
0 commit comments