summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_chown
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2025-01-27 23:06:16 +0100
committerOliver Kiddle <opk@zsh.org>2025-01-27 23:06:16 +0100
commitf3b865b9155269ba0dee7ced93b061e78df507c1 (patch)
tree7ff3e71038dfd5ab7c9e88a82980fd4d85637563 /Completion/Unix/Command/_chown
parent87aba4d437f5fef46917c1235c00b9162d7bcbd0 (diff)
downloadzsh-f3b865b9155269ba0dee7ced93b061e78df507c1.tar.gz
zsh-f3b865b9155269ba0dee7ced93b061e78df507c1.zip
53326: completion updates for core Linux utils
Diffstat (limited to 'Completion/Unix/Command/_chown')
-rw-r--r--Completion/Unix/Command/_chown3
1 files changed, 1 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_chown b/Completion/Unix/Command/_chown
index bcc6aec2f..c9fe8fadd 100644
--- a/Completion/Unix/Command/_chown
+++ b/Completion/Unix/Command/_chown
@@ -13,6 +13,7 @@ case "$variant" in
'(-h --no-dereference)--dereference[dereference symlinks]'
'(-h --no-dereference --dereference)'{-h,--no-dereference}'[operate on symlinks themselves]'
'(-f --silent --quiet)'{-f,--silent,--quiet}"[don't report errors]"
+ '--from=[restrict changes to files by current ownership]: :->owner'
'--preserve-root[fail to operate recursively on /]'
'--reference=[copy ownership of specified file]:file:_files'
'(-R --recursive)'{-R,--recursive}'[change files and directories recursively]'
@@ -22,8 +23,6 @@ case "$variant" in
'(- : *)--help[display help information]'
'(- : *)--version[display version information]'
)
- [[ $service = chown ]] &&
- args+=( '--from=[restrict changes to files by current ownership]: :->owner' )
;;
*)
args=(