zshrs 0.11.18

The first compiled Unix shell — bytecode VM, worker pool, AOP intercept, Rkyv caching
Documentation
1
2
3
4
5
6
7
8
9
10
11
#compdef sw_vers

# Only options with a single dash '-' are accepted on Monterey or older,
# but both a single and double dashes are accepted on Ventura (or newer).
# We may replace '-' by '--' when Monterey fades out.

_arguments : \
  '(-)-buildVersion[display build version only]' \
  '(-)-productName[display product name only]' \
  '(-)-productVersion[display product version only]' \
  '(-)-productVersionExtra[display rapid security response version only]'