summaryrefslogtreecommitdiffstats
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2025-09-29 14:24:39 +0200
committerOliver Kiddle <opk@zsh.org>2025-09-29 14:24:39 +0200
commit89c0256ef612c2cb809a55cf6d1a72158245da9f (patch)
tree713d87ff8128b61327a035262b81bd59e5e71b60 /Completion/Unix/Command
parent53968: new lvm2 and blkid completions (diff)
downloadzsh-89c0256ef612c2cb809a55cf6d1a72158245da9f.tar
zsh-89c0256ef612c2cb809a55cf6d1a72158245da9f.tar.gz
zsh-89c0256ef612c2cb809a55cf6d1a72158245da9f.tar.bz2
zsh-89c0256ef612c2cb809a55cf6d1a72158245da9f.tar.lz
zsh-89c0256ef612c2cb809a55cf6d1a72158245da9f.tar.xz
zsh-89c0256ef612c2cb809a55cf6d1a72158245da9f.tar.zst
zsh-89c0256ef612c2cb809a55cf6d1a72158245da9f.zip
53969: completion updates for Unix utilities in macOS 15.5
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_date4
-rw-r--r--Completion/Unix/Command/_env10
-rw-r--r--Completion/Unix/Command/_ping2
3 files changed, 9 insertions, 7 deletions
diff --git a/Completion/Unix/Command/_date b/Completion/Unix/Command/_date
index 2c023e8f7..59a1a9e8a 100644
--- a/Completion/Unix/Command/_date
+++ b/Completion/Unix/Command/_date
@@ -65,7 +65,7 @@ else
;|
dragonfly*|darwin*)
args+=(
- '(-R)-I-[display in ISO 8601 format]::precision [date]:(date hours minutes seconds)'
+ '(-R)-I-[display in ISO 8601 format]::precision [date]:(date hours minutes seconds ns)'
)
;|
freebsd<-12>.*)
@@ -76,7 +76,7 @@ else
;|
openbsd*|netbsd*) args+=( '-a[gradually skew]' )
;|
- freebsd<14->.*|openbsd*)
+ darwin*|freebsd<14->.*|openbsd*)
args+=( '-z+[specify timezone for output]:time zone:_time_zone')
;|
freebsd*)
diff --git a/Completion/Unix/Command/_env b/Completion/Unix/Command/_env
index 89a45e4a4..7d86f4fd2 100644
--- a/Completion/Unix/Command/_env
+++ b/Completion/Unix/Command/_env
@@ -29,11 +29,11 @@ case $variant in
'-U[add variables from user and system login.conf(5)]: :->user-class'
)
;|
- freebsd*|netbsd*)
- args+=( '-C+[change working directory]:directory:_directories' )
- ;|
- freebsd*|darwin*|netbsd*)
- args+=( '-0[use NUL, not newline after each variable in output]' )
+ darwin*|freebsd*|netbsd*)
+ args+=(
+ '-C+[change working directory]:directory:_directories'
+ '-0[use NUL, not newline after each variable in output]'
+ )
;|
freebsd*|darwin*|dragonfly*|netbsd*|openbsd*)
args+=(
diff --git a/Completion/Unix/Command/_ping b/Completion/Unix/Command/_ping
index 95e1fd604..09e5ed1f6 100644
--- a/Completion/Unix/Command/_ping
+++ b/Completion/Unix/Command/_ping
@@ -183,6 +183,8 @@ case ${variant}:${${service#ping}:-4} in
'-k+[specify traffic class to use for sending ICMP packets]:traffic class [CTL]:(BK_SYS BK BE RD OAM AV RV VI VO CTL)'
'--apple-connect[connects the socket to the destination address]'
'--apple-time[prints the time a packet was received]'
+ '--apple-print-id[display echo ID]'
+ '--apple-print-req[display echo request]'
)
;;
openbsd*)