diff options
author | Matthew Martin <phy1729@gmail.com> | 2018-04-13 22:42:11 -0500 |
---|---|---|
committer | Oliver Kiddle <okiddle@yahoo.co.uk> | 2018-04-16 16:39:21 +0200 |
commit | 637f9809a772150e83091180676fd5371bd8e1fe (patch) | |
tree | 9e68f5ef145bfaacc6523182046aa1d8afd982de | |
parent | 68d9526220d77466a75928fc6a20008cf64e0590 (diff) | |
download | zsh-637f9809a772150e83091180676fd5371bd8e1fe.tar.gz zsh-637f9809a772150e83091180676fd5371bd8e1fe.tar.xz zsh-637f9809a772150e83091180676fd5371bd8e1fe.zip |
42642 (tweaked for Solaris): OpenBSD chown does not support -f and dragonfly has -x
-rw-r--r-- | Completion/Unix/Command/_chown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_chown b/Completion/Unix/Command/_chown index c3abb5858..2c63a399a 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|solaris)*' "-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 |