about summary refs log tree commit diff
path: root/Completion/Unix/Command/_mv
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/_mv
parentddfc81a2b81e19c13f60bfff30f28ed520df8f57 (diff)
downloadzsh-6306dcfaa52237fbaa76eafe7bc396e68eda66ca.tar.gz
zsh-6306dcfaa52237fbaa76eafe7bc396e68eda66ca.tar.xz
zsh-6306dcfaa52237fbaa76eafe7bc396e68eda66ca.zip
52303: updates to completions for macOS 13
Diffstat (limited to 'Completion/Unix/Command/_mv')
-rw-r--r--Completion/Unix/Command/_mv12
1 files changed, 6 insertions, 6 deletions
diff --git a/Completion/Unix/Command/_mv b/Completion/Unix/Command/_mv
index 84e43d47e..c52e7a5e4 100644
--- a/Completion/Unix/Command/_mv
+++ b/Completion/Unix/Command/_mv
@@ -13,13 +13,17 @@ case $variant; in
         {existing,nil}"[numbered backups, if they already exist]"
         {simple,never}"[always make simple backups]"'
       '(-b --backup -n --no-clobber)-b[make a backup of each existing destination file]'
+      '(-v)--debug[explain how a file is copied]'
       '(-f --force -i --interactive -n --no-clobber)'{-f,--force}"[don't prompt before overwriting]"
       '(-f --force -i --interactive -n --no-clobber)'{-i,--interactive}'[prompt before overwriting existing file]'
+      '(-f --force -i --interactive -n --no-clobber)'{-n,--no-clobber}"[don't overwrite existing file]"
+      "--no-copy[don't copy if renaming fails]"
       '--strip-trailing-slashes[remove any trailing slashes from each source argument]'
       '(-S --suffix)'{-S+,--suffix=}'[specify the backup suffix]:backup suffix [~]'
       '(-t --target-directory)'{-t+,--target-directory=}'[move all source arguments into specified directory]:directory:_directories'
       '(-T --no-target-directory)'{-T,--no-target-directory}'[treat final argument as a normal file]'
-      '(-u --update)'{-u,--update}'[move only when destination file is older or missing]'
+      '(-u)--update=-[move only when destination file is older or missing]::update files [older]:(all none older)'
+      '(--update)-u[move only when destination file is older or missing]'
       '(-v --verbose)'{-v,--verbose}'[show file names after they are moved]'
       '(- *)--help[display usage information]'
       '(- *)--version[display version information]'
@@ -37,6 +41,7 @@ case $variant; in
   darwin*|dragonfly*|freebsd*)
     args+=(
       "(-f -i)-n[don't overwrite existing file]"
+      "-h[if target is a symlink to a directory, don't follow it]"
     )
     ;|
   darwin*|dragonfly*|*bsd*)
@@ -44,11 +49,6 @@ case $variant; in
       '-v[show file names after they are moved]'
     )
     ;|
-  dragonfly*|freebsd*)
-    args+=(
-      "-h[if target is a symlink to a directory, don't follow it]"
-    )
-    ;;
 esac
 
 _arguments -s -S $aopts $args \