summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_w
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2025-01-27 23:00:17 +0100
committerOliver Kiddle <opk@zsh.org>2025-01-27 23:00:17 +0100
commit87aba4d437f5fef46917c1235c00b9162d7bcbd0 (patch)
treece578175d1248d14b8237ad86121b9396550c226 /Completion/Unix/Command/_w
parentdb01c79cf83290b9ac9d77e66d832551b7022f71 (diff)
downloadzsh-87aba4d437f5fef46917c1235c00b9162d7bcbd0.tar.gz
zsh-87aba4d437f5fef46917c1235c00b9162d7bcbd0.zip
53325: cover newer BSD releases in completion
Diffstat (limited to 'Completion/Unix/Command/_w')
-rw-r--r--Completion/Unix/Command/_w7
1 files changed, 6 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_w b/Completion/Unix/Command/_w
index e82c84f57..408cb76af 100644
--- a/Completion/Unix/Command/_w
+++ b/Completion/Unix/Command/_w
@@ -23,7 +23,7 @@ case $OSTYPE in
openbsd*)
args+=( '-a[translate network addresses into names]' )
;|
- (free|net)bsd*|dragonfly*)
+ (free|net)bsd*|dragonfly*|darwin*)
args+=( '-n[show network addresses as numbers]' )
;|
*bsd*|dragonfly*)
@@ -35,6 +35,11 @@ case $OSTYPE in
freebsd*|dragonfly*)
args+=( '-d[dump process list on a per controlling tty basis]' )
;|
+ netbsd*)
+ args+=(
+ '-A[sort tty names alphabetically instead of utmp or utmpx order]'
+ )
+ ;|
solaris*)
args+=( '!(-s -w -l)'{-l,-w}
'-s[short output form]'