Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[patch] Update _chown
- X-seq: zsh-workers 42642
- From: Matthew Martin <phy1729@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [patch] Update _chown
- Date: Fri, 13 Apr 2018 22:28:29 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mail-followup-to:mime-version :content-disposition:user-agent; bh=CZoIhdXWWMXxHUYAfBEDuIiLwcstzzlZa0K4Cn0WluQ=; b=Hq3ToxNqkUsQMIzTlmZKerWXS0mRZAq/WWN5RTJtkqS7CEzmCM8CkhIgB/cklawMXh yqzaWrx+E9528o6vGlqEdPlsqDpRTCfJL0fO4ShsluGx980trvk7/GB0R7xa2Kw88j1I SnZeH5og/jiEXJ5lylc3Qp+sU58PL5UkwUrxFxWy6CScxaFvyTbVZDhkHevro6AsEKCm Ad/EWNrihNGHTjxhOTLIw8lj3yNSI1zPecsoi6BYmDapDzX7wRyg5KrE7ohrwSHtFEG5 F6wff3dlXfxFiKmgQZ68DBInONS4Dl+J4EXjE0JZ6ydNdjsnB6kwtHFyQFeueXPSqgNi KNlw==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mail-followup-to: zsh-workers@xxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
OpenBSD does not support -f and dragonfly has -x.
- Matthew Martin
diff --git a/Completion/Unix/Command/_chown b/Completion/Unix/Command/_chown
index c3abb5858..70ca48155 100644
--- a/Completion/Unix/Command/_chown
+++ b/Completion/Unix/Command/_chown
@@ -23,7 +23,6 @@ if _pick_variant gnu=Free\ Soft unix --version; then
args+=( '--from=[restrict changes to files by current ownership]: :->owner' )
else
args=(
- "-f[don't report errors]"
"-h[operate on symlinks them self]"
'-R[change files and directories recursively]'
'(-H -L -P)-L[follow all symlinks]'
@@ -31,7 +30,8 @@ else
'(-H -L -P)-P[do not follow symlinks (default)]'
)
for pattern arg in \
- 'freebsd*' "-x[don't traverse file systems]" \
+ '(dragonfly|freebsd)*' "-x[don't traverse file systems]" \
+ '(darwin|dragonfly|(free|net)bsd)*' "-f[don't report errors]" \
'(darwin|dragonfly|(free|net)bsd)*' '-v[output info for every file processed]' \
'solaris2.<11->' '-s[owner and/or group are Windows SID strings]'
do
Messages sorted by:
Reverse Date,
Date,
Thread,
Author