summaryrefslogtreecommitdiffstats
path: root/Completion/Unix/Command/_sysctl
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2025-11-03 20:25:36 +0100
committerOliver Kiddle <opk@zsh.org>2025-11-03 20:25:36 +0100
commit1782750aa94756a799a5ae8f75a1734a172b32f8 (patch)
treee74b67c6caa4dfc4a007c5fe7ed3c9dff5e86578 /Completion/Unix/Command/_sysctl
parent54020: add library for network support on Haiku OS (diff)
downloadzsh-1782750aa94756a799a5ae8f75a1734a172b32f8.tar
zsh-1782750aa94756a799a5ae8f75a1734a172b32f8.tar.gz
zsh-1782750aa94756a799a5ae8f75a1734a172b32f8.tar.bz2
zsh-1782750aa94756a799a5ae8f75a1734a172b32f8.tar.lz
zsh-1782750aa94756a799a5ae8f75a1734a172b32f8.tar.xz
zsh-1782750aa94756a799a5ae8f75a1734a172b32f8.tar.zst
zsh-1782750aa94756a799a5ae8f75a1734a172b32f8.zip
54022: completion updates for openbsd 7.8
Diffstat (limited to 'Completion/Unix/Command/_sysctl')
-rw-r--r--Completion/Unix/Command/_sysctl6
1 files changed, 5 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_sysctl b/Completion/Unix/Command/_sysctl
index d156f7778..9d240b42c 100644
--- a/Completion/Unix/Command/_sysctl
+++ b/Completion/Unix/Command/_sysctl
@@ -36,6 +36,11 @@ case $OSTYPE in
'(- :)'{-V,--version}'[display version info and exit]' \
"*:sysctl variable:_multi_parts -i -S = -q $delimiter sysctlvars"
;;
+ (free|open)bsd*)
+ args+=(
+ '-f+[specify file of name/value pairs to process first]:file:_files'
+ )
+ ;|
freebsd<14->.*)
args+=(
'-F[print the format of the variable]'
@@ -53,7 +58,6 @@ case $OSTYPE in
;|
freebsd<10->.*)
args+=(
- '-f+[specify file of name/value pairs to process first]:file:_files'
'-T[display only variables that are settable via loader]'
'-W[display only writable variables that are not statistical]'
)