From: Matthew Martin <phy1729@gmail.com>
To: zsh-workers@zsh.org
Subject: [patch] Update _chown
Date: Fri, 13 Apr 2018 22:28:29 -0500 [thread overview]
Message-ID: <20180414032828.GA92975@CptOrmolo.darkstar> (raw)
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
next reply other threads:[~2018-04-14 3:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-14 3:28 Matthew Martin [this message]
2018-04-14 5:27 ` Eitan Adler
2018-04-16 14:42 ` Oliver Kiddle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180414032828.GA92975@CptOrmolo.darkstar \
--to=phy1729@gmail.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).