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
2
2
3
3
+====================+
4
4
| Zip File Interface |
@@ -50,7 +50,7 @@ Copyright: Copyright (C) 2005-2015 Charles E Campbell *zip-copyright*
50
50
allow spaces and whatnot in filenames; however, if it is incorrectly
51
51
guessing the quote to use for your setup, you may use >
52
52
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
54
54
under Windows ("). If you'd rather have no quotes, simply set
55
55
g:zip_shq to the empty string (let g:zip_shq= "") in your <.vimrc>.
56
56
@@ -77,6 +77,16 @@ Copyright: Copyright (C) 2005-2015 Charles E Campbell *zip-copyright*
77
77
"0": >
78
78
let g:zip_exec=0
79
79
<
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
+
80
90
PREVENTING LOADING~
81
91
82
92
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*
112
122
==============================================================================
113
123
4. History *zip-history* {{{1
114
124
unreleased:
125
+ Sep 19, 2025 * support PowerShell Core
115
126
Jul 12, 2025 * drop ../ on write to prevent path traversal attacks
116
127
Mar 11, 2025 * handle filenames with leading '-' correctly
117
128
Aug 21, 2024 * simplify condition to detect MS-Windows
0 commit comments