summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_mv
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2025-01-27 23:00:17 +0100
committerOliver Kiddle <opk@zsh.org>2025-01-27 23:00:17 +0100
commit87aba4d437f5fef46917c1235c00b9162d7bcbd0 (patch)
treece578175d1248d14b8237ad86121b9396550c226 /Completion/Unix/Command/_mv
parentdb01c79cf83290b9ac9d77e66d832551b7022f71 (diff)
downloadzsh-87aba4d437f5fef46917c1235c00b9162d7bcbd0.tar.gz
zsh-87aba4d437f5fef46917c1235c00b9162d7bcbd0.zip
53325: cover newer BSD releases in completion
Diffstat (limited to 'Completion/Unix/Command/_mv')
-rw-r--r--Completion/Unix/Command/_mv8
1 files changed, 4 insertions, 4 deletions
diff --git a/Completion/Unix/Command/_mv b/Completion/Unix/Command/_mv
index c52e7a5e4..983c25ea8 100644
--- a/Completion/Unix/Command/_mv
+++ b/Completion/Unix/Command/_mv
@@ -38,11 +38,11 @@ case $variant; in
'(-f -n)-i[prompt before overwriting existing file]'
)
;|
+ darwin*|dragonfly*|freebsd*|netbsd*)
+ args+=( "-h[if target is a symlink to a directory, don't follow it]" )
+ ;|
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]"
- )
+ args+=( "(-f -i)-n[don't overwrite existing file]" )
;|
darwin*|dragonfly*|*bsd*)
args+=(