summary refs log tree commit diff
path: root/Completion/Unix/Command/_uname
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2021-05-22 00:00:29 +0200
committerOliver Kiddle <opk@zsh.org>2021-05-22 00:05:54 +0200
commit0c14732cf740149aa906017938624db2e864f08e (patch)
tree23e05c877d65ae7a0dd26b7d3cfb3f0685f54ca1 /Completion/Unix/Command/_uname
parent891d361572f6db01434c21adb9b699d6a82dba80 (diff)
downloadzsh-0c14732cf740149aa906017938624db2e864f08e.tar.gz
zsh-0c14732cf740149aa906017938624db2e864f08e.tar.xz
zsh-0c14732cf740149aa906017938624db2e864f08e.zip
48897: completion updates for DragonFly 6.0 and OpenBSD 6.9
Diffstat (limited to 'Completion/Unix/Command/_uname')
-rw-r--r--Completion/Unix/Command/_uname14
1 files changed, 10 insertions, 4 deletions
diff --git a/Completion/Unix/Command/_uname b/Completion/Unix/Command/_uname
index 0e55ba1c3..c58f2edfd 100644
--- a/Completion/Unix/Command/_uname
+++ b/Completion/Unix/Command/_uname
@@ -62,13 +62,19 @@ else
     '-v[print detailed operating system version]'
   )
   case $OSTYPE in
-    freebsd*|dragonfly*) args+=( '-i[print kernel ident]' ) ;|
-    freebsd<10->.*)
+    freebsd*|dragonfly*)
       args+=(
-	'-K[print FreeBSD kernel version]'
-	'-U[print FreeBSD user environment version]'
+        '-i[print kernel ident]'
+        '-K[print kernel version]'
+        '-U[print user environment version]'
       )
     ;|
+    dragonfly*)
+      args+=(
+        '-P[write ABI string for dports / pkgng, including odd-to-even version-munging]'
+        '-PP[write ABI string for dports / pkgng, without version-munging]'
+      )
+    ;;
     freebsd<13->.*)
       args+=( "-b[print kernel's linker-generated build-id]" )
     ;;