6ffdf8e008bb1bb052afdb56684917075424a056
- Author
- Marco Eidinger <eidingermarco@gmail.com>
- Committer
- GitHub <noreply@github.com>
- Date
Message
Diff
This diff is truncated to protect this page.
1diff --git a/plugins/swiftpm/README.md b/plugins/swiftpm/README.md
2index 223a607c19adcb6439f6d8f466232f01efa182a9..e5b4752e435980442e0b964468f1e45ce334321b 100644
3--- a/plugins/swiftpm/README.md
4+++ b/plugins/swiftpm/README.md
5@@ -2,7 +2,7 @@
6
7 ## Description
8
9-This plugin provides a few utilities that make you faster on your daily work with the [Swift Package Manager](https://github.com/apple/swift-package-manager), as well as autocompletion for Swift 5.7.
10+This plugin provides a few utilities that make you faster on your daily work with the [Swift Package Manager](https://github.com/apple/swift-package-manager), as well as autocompletion for Swift 5.9.
11
12 To start using it, add the `swiftpm` plugin to your `plugins` array in `~/.zshrc`:
13
14diff --git a/plugins/swiftpm/_swift b/plugins/swiftpm/_swift
15index 51c9fffa0daf31c7265fd868009409dc5372580e..f9a603f5880674623dfa3ee1f88f96da25034bca 100644
16--- a/plugins/swiftpm/_swift
17+++ b/plugins/swiftpm/_swift
18@@ -57,6 +57,8 @@ _swift_run() {
19 '--config-path[Specify the shared configuration directory path]:config-path:_files -/'
20 '--security-path[Specify the shared security directory path]:security-path:_files -/'
21 '--scratch-path[Specify a custom scratch directory path (default .build)]:scratch-path:_files -/'
22+ '--pkg-config-path[Specify alternative path to search for pkg-config `.pc` files. Use the option multiple times to
23+ specify more than one path.]:pkg-config-path:_files -/'
24 '--enable-dependency-cache[Use a shared cache when fetching dependencies]'
25 '--disable-dependency-cache[Use a shared cache when fetching dependencies]'
26 '--enable-build-manifest-caching'
27@@ -64,13 +66,18 @@ _swift_run() {
28 '--manifest-cache[Caching mode of Package.swift manifests (shared: shared cache, local: package'"'"'s build directory, none: disabled]:manifest-cache:'
29 '(--verbose -v)'{--verbose,-v}'[Increase verbosity to include informational output]'
30 '(--very-verbose --vv)'{--very-verbose,--vv}'[Increase verbosity to include debug output]'
31+ '(--quiet -q)'{--quiet,-q}'[Decrease verbosity to only include error output.]'
32 '--disable-sandbox[Disable using the sandbox when executing subprocesses]'
33- '--enable-netrc[Load credentials from a .netrc file]'
34- '--disable-netrc[Load credentials from a .netrc file]'
35- '--netrc-file[Specify the .netrc file path.]:netrc-file:_files'
36+ '--netrc[Use netrc file even in cases where other credential stores are preferred]'
37+ '--enable-netrc[Load credentials from a netrc file]'
38+ '--disable-netrc[Load credentials from a netrc file]'
39+ '--netrc-file[Specify the netrc file path]:netrc-file:_files'
40 '--enable-keychain[Search credentials in macOS keychain]'
41 '--disable-keychain[Search credentials in macOS keychain]'
42 '--resolver-fingerprint-checking:resolver-fingerprint-checking:'
43+ '--resolver-signing-entity-checking:resolver-signing-entity-checking:'
44+ '--enable-signature-validation[Validate signature of a signed package release downloaded from registry]'
45+ '--disable-signature-validation[Validate signature of a signed package release downloaded from registry]'
46 '--enable-prefetching'
47 '--disable-prefetching'