summaryrefslogtreecommitdiffstats
path: root/Completion/Unix/Command/_w
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2026-06-19 01:37:33 +0200
committerOliver Kiddle <opk@zsh.org>2026-06-19 01:37:33 +0200
commita4e9eb4117613307405a71678af24e044c265189 (patch)
treeca1d71317d3319b8753831df61c1941aecd2040a /Completion/Unix/Command/_w
parent54801: fix two more warnings from 54710 (diff)
downloadzsh-a4e9eb4117613307405a71678af24e044c265189.tar
zsh-a4e9eb4117613307405a71678af24e044c265189.tar.gz
zsh-a4e9eb4117613307405a71678af24e044c265189.tar.bz2
zsh-a4e9eb4117613307405a71678af24e044c265189.tar.lz
zsh-a4e9eb4117613307405a71678af24e044c265189.tar.xz
zsh-a4e9eb4117613307405a71678af24e044c265189.tar.zst
zsh-a4e9eb4117613307405a71678af24e044c265189.zip
54800, 54807: completion options update
Diffstat (limited to 'Completion/Unix/Command/_w')
-rw-r--r--Completion/Unix/Command/_w9
1 files changed, 8 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_w b/Completion/Unix/Command/_w
index 2da57a8f6..b63018024 100644
--- a/Completion/Unix/Command/_w
+++ b/Completion/Unix/Command/_w
@@ -9,6 +9,7 @@ case $OSTYPE in
'(-c --container)'{-c,--container}'[show container uptime]'
'(H -h)--no-header[suppress the heading]'
'(H -i --ip-addr)'{-i,--ip-addr}'[display IP address instead of hostname]'
+ '(H -t --terminal)'{-t,--terminal}'[scan terminal devices to locate user sessions]'
'(H -o --old-style -s --short)'{-o,--old-style}'[old style output format]'
'(H -s --short -o --old-style)'{-s,--short}'[use short output format]'
'(H -u --no-current)'{-u,--no-current}'[ignore the username while figuring out the current process and cpu times]'
@@ -41,12 +42,18 @@ case $OSTYPE in
'-A[sort tty names alphabetically instead of utmp or utmpx order]'
)
;|
- solaris*)
+ aix*|solaris*)
args+=( '!(-s -w -l)'{-l,-w}
'-s[short output form]'
'(-)-u[produce only the heading line]'
)
;|
+ aix*)
+ args+=(
+ "-X[don't truncate user names]"
+ '-@[tag system activity with workload partition name]:wpar'
+ )
+ ;;
esac
_arguments -S -s \