summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_cp
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2023-11-17 18:13:41 +0100
committerOliver Kiddle <opk@zsh.org>2023-11-17 18:13:41 +0100
commit6306dcfaa52237fbaa76eafe7bc396e68eda66ca (patch)
tree818c8bbcf932431e4d28bc5f14fc05cdd616e7b7 /Completion/Unix/Command/_cp
parentddfc81a2b81e19c13f60bfff30f28ed520df8f57 (diff)
downloadzsh-6306dcfaa52237fbaa76eafe7bc396e68eda66ca.tar.gz
zsh-6306dcfaa52237fbaa76eafe7bc396e68eda66ca.zip
52303: updates to completions for macOS 13
Diffstat (limited to 'Completion/Unix/Command/_cp')
-rw-r--r--Completion/Unix/Command/_cp8
1 files changed, 5 insertions, 3 deletions
diff --git a/Completion/Unix/Command/_cp b/Completion/Unix/Command/_cp
index f7411055b..da9428ce3 100644
--- a/Completion/Unix/Command/_cp
+++ b/Completion/Unix/Command/_cp
@@ -51,14 +51,16 @@ else
'(aix|hpux|irix|solaris)*' '-r[copy directories recursively]' \
'solaris2.<9->*' '-@[preserve extended attributes]' \
'solaris2.<11->*' '-/[preserve extended attributes and extended system attributes]' \
+ 'solaris2.<11->*' '-z[fast relink(3C) based copy]' \
'(darwin|dragonfly|freebsd)*' "(-f -i)-n[don't overwrite existing file]" \
'netbsd*' "-N[don't copy file flags]" \
'(darwin|dragonfly|freebsd|netbsd|openbsd)*' '-a[archive mode, same as -RpP]' \
- '(dragonfly|freebsd)*' '-l[link files instead of copying]' \
+ '(dragonfly|freebsd|darwin)*' '-l[link files instead of copying]' \
'(darwin|dragonfly|*bsd)*' '-v[show file names as they are copied]' \
'darwin*' "-X[don't copy extended attributes or resource forks]" \
- '(dragonfly|freebsd)*' "-x[don't traverse file systems]" \
- 'freebsd<10->.*' '-s[make symbolic links instead of copies of non-directories]'
+ '(dragonfly|freebsd|darwin)*' "-x[don't traverse file systems]" \
+ '(freebsd<10->.|darwin)*' '-s[make symbolic links instead of copies of non-directories]' \
+ 'darwin*' '-c[copy files using clonefile(2)]'
do
[[ $OSTYPE = $~pattern ]] && args+=( $arg )
done