summaryrefslogtreecommitdiffstats
path: root/Completion/Unix
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix')
-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*)