Skip to content

Commit 89c0256

Browse files
author
Oliver Kiddle
committed
53969: completion updates for Unix utilities in macOS 15.5
1 parent 3b08c1f commit 89c0256

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
2025-09-29 Oliver Kiddle <[email protected]>
22

3+
* 53969: Completion/Unix/Command/_date,
4+
Completion/Unix/Command/_env, Completion/Unix/Command/_ping:
5+
completion updates for Unix utilities in macOS 15.5
6+
37
* 53968: Completion/Linux/Command/_blkid,
48
Completion/Linux/Command/_lvm2: new lvm2 and blkid completions
59

Completion/Unix/Command/_date

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ else
6565
;|
6666
dragonfly*|darwin*)
6767
args+=(
68-
'(-R)-I-[display in ISO 8601 format]::precision [date]:(date hours minutes seconds)'
68+
'(-R)-I-[display in ISO 8601 format]::precision [date]:(date hours minutes seconds ns)'
6969
)
7070
;|
7171
freebsd<-12>.*)
@@ -76,7 +76,7 @@ else
7676
;|
7777
openbsd*|netbsd*) args+=( '-a[gradually skew]' )
7878
;|
79-
freebsd<14->.*|openbsd*)
79+
darwin*|freebsd<14->.*|openbsd*)
8080
args+=( '-z+[specify timezone for output]:time zone:_time_zone')
8181
;|
8282
freebsd*)

Completion/Unix/Command/_env

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ case $variant in
2929
'-U[add variables from user and system login.conf(5)]: :->user-class'
3030
)
3131
;|
32-
freebsd*|netbsd*)
33-
args+=( '-C+[change working directory]:directory:_directories' )
34-
;|
35-
freebsd*|darwin*|netbsd*)
36-
args+=( '-0[use NUL, not newline after each variable in output]' )
32+
darwin*|freebsd*|netbsd*)
33+
args+=(
34+
'-C+[change working directory]:directory:_directories'
35+
'-0[use NUL, not newline after each variable in output]'
36+
)
3737
;|
3838
freebsd*|darwin*|dragonfly*|netbsd*|openbsd*)
3939
args+=(

Completion/Unix/Command/_ping

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,8 @@ case ${variant}:${${service#ping}:-4} in
183183
'-k+[specify traffic class to use for sending ICMP packets]:traffic class [CTL]:(BK_SYS BK BE RD OAM AV RV VI VO CTL)'
184184
'--apple-connect[connects the socket to the destination address]'
185185
'--apple-time[prints the time a packet was received]'
186+
'--apple-print-id[display echo ID]'
187+
'--apple-print-req[display echo request]'
186188
)
187189
;;
188190
openbsd*)

0 commit comments

Comments
 (0)